Leaked source code of windows server 2003
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.
 
 
 
 
 
 

61 lines
965 B

#ifndef _PORTMGRC_HXX
#define _PORTMGRC_HXX
PCPORTMGR
PortMgrInit (
LPCTSTR lpszPortName);
PCPORTMGR
PortMgrCreate(
LPCTSTR lpszPortName);
BOOL
PortMgrConfigure(
PCPORTMGR hPortMgr,
HWND hWnd);
BOOL
PortMgrCheckConnection(
PCPORTMGR hPortMgr);
BOOL
PortMgrRemove (
PCPORTMGR hPortMgr);
BOOL
PortMgrSendReq(
PCPORTMGR hPortMgr,
HANDLE hPort,
LPBYTE lpIpp,
DWORD cbIpp,
IPPRSPPROC pfnRsp,
LPARAM lParam);
BOOL
PortMgrReadFile (
PCPORTMGR hPortMgr,
HINTERNET hReq,
LPVOID lpvBuffer,
DWORD cbBuffer,
LPDWORD lpcbRd);
HANDLE
PortMgrOpenUserHandle(
VOID);
DWORD
PortMgrIncUserRefCount(
PCPORTMGR hPortMgr,
HANDLE hUser);
HANDLE
PortMgrGetUserHandleIfLastDecRef(
PCPORTMGR hPortMgr,
HANDLE hUser);
VOID
PortMgrCloseUserHandle(
HANDLE hUser);
#endif