20 lines
350 B
C
20 lines
350 B
C
#pragma once
|
|
|
|
typedef PVOID LHCHANDLE;
|
|
|
|
BOOL lhcInitialize();
|
|
void lhcFinalize();
|
|
LHCHANDLE lhcOpen(PCWSTR pcszPortSpec);
|
|
BOOL lhcRead(
|
|
LHCHANDLE hObject,
|
|
PVOID pBuffer,
|
|
DWORD dwBufferSize,
|
|
PDWORD pdwBytesRead);
|
|
BOOL lhcWrite(
|
|
LHCHANDLE hObject,
|
|
PVOID pBuffer,
|
|
DWORD dwBufferSize);
|
|
BOOL lhcClose(
|
|
LHCHANDLE hObject);
|
|
|