mirror of https://github.com/tongzx/nt5src
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
19 lines
350 B
#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);
|
|
|