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.

146 lines
4.3 KiB

  1. [
  2. uuid(621dff68-3c39-4c6c-aae3-e68e2c6503ad),
  3. version(1.0),
  4. #ifdef __midl
  5. ms_union,
  6. #endif // __midl
  7. endpoint("mscn_np:[\\pipe\\wzcsvc]"),
  8. pointer_default(unique)
  9. ]
  10. interface winwzc
  11. {
  12. import "import.idl";
  13. typedef [handle] wchar_t* STRING_HANDLE;
  14. typedef [context_handle] void * WZC_DBLOG_SESSION_HANDLE;
  15. typedef struct _WZC_DB_RECORD_CONTAINER {
  16. DWORD dwNumRecords;
  17. [size_is(dwNumRecords)] PWZC_DB_RECORD pWZCRecords;
  18. } WZC_DB_RECORD_CONTAINER, * PWZC_DB_RECORD_CONTAINER;
  19. DWORD
  20. RpcEnumInterfaces(
  21. [in, string, unique] STRING_HANDLE pSrvAddr,
  22. [ref, out] PINTFS_KEY_TABLE pIntfsTable);
  23. DWORD
  24. RpcQueryInterface(
  25. [in, string, unique] STRING_HANDLE pSrvAddr,
  26. [in] DWORD dwInFlags,
  27. [ref, in, out] PINTF_ENTRY pIntfEntry,
  28. [unique, in, out] LPDWORD pdwOutFlags);
  29. DWORD
  30. RpcSetInterface(
  31. [in, string, unique] STRING_HANDLE pSrvAddr,
  32. [in] DWORD dwInFlags,
  33. [ref, in] PINTF_ENTRY pIntfEntry,
  34. [unique, in, out] LPDWORD pdwOutFlags);
  35. DWORD
  36. RpcRefreshInterface(
  37. [in, string, unique] STRING_HANDLE pSrvAddr,
  38. [in] DWORD dwInFlags,
  39. [ref, in] PINTF_ENTRY pIntfEntry,
  40. [unique, in, out] LPDWORD pdwOutFlags);
  41. DWORD
  42. RpcQueryContext(
  43. [in, string, unique] STRING_HANDLE pSrvAddr,
  44. [in] DWORD dwInFlags,
  45. [ref, in, out] PWZC_CONTEXT pContext,
  46. [unique, in, out] LPDWORD pdwOutFlags);
  47. DWORD
  48. RpcSetContext(
  49. [in, string, unique] STRING_HANDLE pSrvAddr,
  50. [in] DWORD dwInFlags,
  51. [ref, in] PWZC_CONTEXT pContext,
  52. [unique, in, out] LPDWORD pdwOutFlags);
  53. DWORD
  54. RpcEapolUIResponse (
  55. [in, string, unique] STRING_HANDLE pSrvAddr,
  56. [in] EAPOL_EAP_UI_CONTEXT EapolUIContext,
  57. [in] EAPOLUI_RESP EapolUIResp);
  58. DWORD
  59. RpcEapolGetCustomAuthData (
  60. [in, string, unique] STRING_HANDLE pSrvAddr,
  61. [in, string] PWCHAR pwszGuid,
  62. [in] DWORD dwEapTypeId,
  63. [in] RAW_DATA rdSSID,
  64. [in, out] PRAW_DATA prdConnInfo);
  65. DWORD
  66. RpcEapolSetCustomAuthData (
  67. [in, string, unique] STRING_HANDLE pSrvAddr,
  68. [in, string] PWCHAR pwszGuid,
  69. [in] DWORD dwEapTypeId,
  70. [in] RAW_DATA rdSSID,
  71. [in, out] PRAW_DATA prdConnInfo);
  72. DWORD
  73. RpcEapolGetInterfaceParams (
  74. [in, string, unique] STRING_HANDLE pSrvAddr,
  75. [in, string] PWCHAR pwszGuid,
  76. [ref, in, out] PEAPOL_INTF_PARAMS pIntfParams);
  77. DWORD
  78. RpcEapolSetInterfaceParams (
  79. [in, string, unique] STRING_HANDLE pSrvAddr,
  80. [in, string] PWCHAR pwszGuid,
  81. [ref, in, out] PEAPOL_INTF_PARAMS pIntfParams);
  82. DWORD
  83. RpcEapolReAuthenticateInterface (
  84. [in, string, unique] STRING_HANDLE pSrvAddr,
  85. [in, string] PWCHAR pwszGuid);
  86. DWORD
  87. RpcEapolQueryInterfaceState (
  88. [in, string, unique] STRING_HANDLE pSrvAddr,
  89. [in, string] PWCHAR pwszGuid,
  90. [ref, in, out] PEAPOL_INTF_STATE pIntfState);
  91. DWORD
  92. RpcOpenWZCDbLogSession(
  93. [in, string, unique] STRING_HANDLE pServerName,
  94. [out] WZC_DBLOG_SESSION_HANDLE * phSession
  95. );
  96. DWORD
  97. RpcCloseWZCDbLogSession(
  98. [in, out] WZC_DBLOG_SESSION_HANDLE * phSession
  99. );
  100. DWORD
  101. RpcEnumWZCDbLogRecords(
  102. [in] WZC_DBLOG_SESSION_HANDLE hSession,
  103. [in] PWZC_DB_RECORD_CONTAINER pTemplateRecordContainer,
  104. [in, out, unique] PBOOL pbEnumFromStart,
  105. [in] DWORD dwPreferredNumEntries,
  106. [in, out] PWZC_DB_RECORD_CONTAINER * ppRecordContainer
  107. );
  108. DWORD
  109. RpcFlushWZCDbLog(
  110. [in] WZC_DBLOG_SESSION_HANDLE hSession
  111. );
  112. DWORD
  113. RpcGetWZCDbLogRecord(
  114. [in] WZC_DBLOG_SESSION_HANDLE hSession,
  115. [in] PWZC_DB_RECORD_CONTAINER pTemplateRecordContainer,
  116. [in, out] PWZC_DB_RECORD_CONTAINER * ppRecordContainer
  117. );
  118. }