Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
350 B

  1. #pragma once
  2. typedef PVOID LHCHANDLE;
  3. BOOL lhcInitialize();
  4. void lhcFinalize();
  5. LHCHANDLE lhcOpen(PCWSTR pcszPortSpec);
  6. BOOL lhcRead(
  7. LHCHANDLE hObject,
  8. PVOID pBuffer,
  9. DWORD dwBufferSize,
  10. PDWORD pdwBytesRead);
  11. BOOL lhcWrite(
  12. LHCHANDLE hObject,
  13. PVOID pBuffer,
  14. DWORD dwBufferSize);
  15. BOOL lhcClose(
  16. LHCHANDLE hObject);