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.

117 lines
2.2 KiB

  1. /*****************************************************************************\
  2. * MODULE: authdlg.cxx
  3. *
  4. * The module contains routines for handling the authentication dialog
  5. * for internet priting
  6. *
  7. * Copyright (C) 2000 Microsoft Corporation
  8. *
  9. * History:
  10. * 03/31/00 WeihaiC Created
  11. *
  12. \*****************************************************************************/
  13. #ifndef _INETPPXCV_H
  14. #define _INETPPXCV_H
  15. DWORD
  16. GetMonitorUI(
  17. PBYTE pInputData,
  18. DWORD cbInputData,
  19. PBYTE pOutputData,
  20. DWORD cbOutputData,
  21. PDWORD pcbOutputNeeded,
  22. PCINETMONPORT pPort
  23. );
  24. DWORD
  25. DoDeletePort(
  26. PBYTE pInputData,
  27. DWORD cbInputData,
  28. PBYTE pOutputData,
  29. DWORD cbOutputData,
  30. PDWORD pcbOutputNeeded,
  31. PCINETMONPORT pPort
  32. );
  33. DWORD
  34. DoGetConfiguration(
  35. PBYTE pInputData,
  36. DWORD cbInputData,
  37. PBYTE pOutputData,
  38. DWORD cbOutputData,
  39. PDWORD pcbOutputNeeded,
  40. PCINETMONPORT pPort
  41. );
  42. DWORD
  43. DoSetConfiguration(
  44. PBYTE pInputData,
  45. DWORD cbInputData,
  46. PBYTE pOutputData,
  47. DWORD cbOutputData,
  48. PDWORD pcbOutputNeeded,
  49. PCINETMONPORT pPort
  50. );
  51. DWORD
  52. DoAddPort(
  53. PBYTE pInputData,
  54. DWORD cbInputData,
  55. PBYTE pOutputData,
  56. DWORD cbOutputData,
  57. PDWORD pcbOutputNeeded,
  58. PCINETMONPORT pPort
  59. );
  60. typedef DWORD (*PFN_XCV_PROTO_TYPE)(
  61. PBYTE pInputData,
  62. DWORD cbInputData,
  63. PBYTE pOutputData,
  64. DWORD cbOutputData,
  65. PDWORD pcbOutputNeeded,
  66. PCINETMONPORT pPort);
  67. typedef struct {
  68. PWSTR pszMethod;
  69. PFN_XCV_PROTO_TYPE pfn;
  70. } XCV_METHOD, *PXCV_METHOD;
  71. DWORD
  72. XcvDataPort(
  73. HANDLE hXcv,
  74. LPCWSTR pszDataName,
  75. PBYTE pInputData,
  76. DWORD cbInputData,
  77. PBYTE pOutputData,
  78. DWORD cbOutputData,
  79. PDWORD pcbOutputNeeded
  80. );
  81. BOOL
  82. XcvOpenPort(
  83. HANDLE hMonitor,
  84. LPCWSTR pszObject,
  85. ACCESS_MASK GrantedAccess,
  86. PHANDLE phXcv
  87. );
  88. BOOL
  89. XcvClosePort(
  90. HANDLE hXcv
  91. );
  92. BOOL
  93. PPXcvData(
  94. HANDLE hXcv,
  95. LPCWSTR pszDataName,
  96. PBYTE pInputData,
  97. DWORD cbInputData,
  98. PBYTE pOutputData,
  99. DWORD cbOutputData,
  100. PDWORD pcbOutputNeeded,
  101. PDWORD pdwStatus);
  102. #endif