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

  1. #ifndef _PORTMGRC_HXX
  2. #define _PORTMGRC_HXX
  3. PCPORTMGR
  4. PortMgrInit (
  5. LPCTSTR lpszPortName);
  6. PCPORTMGR
  7. PortMgrCreate(
  8. LPCTSTR lpszPortName);
  9. BOOL
  10. PortMgrConfigure(
  11. PCPORTMGR hPortMgr,
  12. HWND hWnd);
  13. BOOL
  14. PortMgrCheckConnection(
  15. PCPORTMGR hPortMgr);
  16. BOOL
  17. PortMgrRemove (
  18. PCPORTMGR hPortMgr);
  19. BOOL
  20. PortMgrSendReq(
  21. PCPORTMGR hPortMgr,
  22. HANDLE hPort,
  23. LPBYTE lpIpp,
  24. DWORD cbIpp,
  25. IPPRSPPROC pfnRsp,
  26. LPARAM lParam);
  27. BOOL
  28. PortMgrReadFile (
  29. PCPORTMGR hPortMgr,
  30. HINTERNET hReq,
  31. LPVOID lpvBuffer,
  32. DWORD cbBuffer,
  33. LPDWORD lpcbRd);
  34. HANDLE
  35. PortMgrOpenUserHandle(
  36. VOID);
  37. DWORD
  38. PortMgrIncUserRefCount(
  39. PCPORTMGR hPortMgr,
  40. HANDLE hUser);
  41. HANDLE
  42. PortMgrGetUserHandleIfLastDecRef(
  43. PCPORTMGR hPortMgr,
  44. HANDLE hUser);
  45. VOID
  46. PortMgrCloseUserHandle(
  47. HANDLE hUser);
  48. #endif