Source code of Windows XP (NT5)
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.

210 lines
6.9 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Tue May 02 14:36:51 2000
  4. */
  5. /* Compiler settings for .\bowser.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext, oldnames, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef __bowser_h__
  20. #define __bowser_h__
  21. #ifdef __cplusplus
  22. extern "C"{
  23. #endif
  24. /* Forward Declarations */
  25. /* header files for imported files */
  26. #include "imports.h"
  27. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  28. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  29. #ifndef __browser_INTERFACE_DEFINED__
  30. #define __browser_INTERFACE_DEFINED__
  31. /* interface browser */
  32. /* [implicit_handle][unique][ms_union][version][uuid] */
  33. #pragma once
  34. typedef /* [handle] */ wchar_t __RPC_FAR *BROWSER_IMPERSONATE_HANDLE;
  35. typedef /* [handle] */ wchar_t __RPC_FAR *BROWSER_IDENTIFY_HANDLE;
  36. typedef struct _SERVER_INFO_100_CONTAINER
  37. {
  38. DWORD EntriesRead;
  39. /* [size_is] */ LPSERVER_INFO_100 Buffer;
  40. } SERVER_INFO_100_CONTAINER;
  41. typedef struct _SERVER_INFO_100_CONTAINER __RPC_FAR *PSERVER_INFO_100_CONTAINER;
  42. typedef struct _SERVER_INFO_100_CONTAINER __RPC_FAR *LPSERVER_INFO_100_CONTAINER;
  43. typedef struct _SERVER_INFO_101_CONTAINER
  44. {
  45. DWORD EntriesRead;
  46. /* [size_is] */ LPSERVER_INFO_101 Buffer;
  47. } SERVER_INFO_101_CONTAINER;
  48. typedef struct _SERVER_INFO_101_CONTAINER __RPC_FAR *PSERVER_INFO_101_CONTAINER;
  49. typedef struct _SERVER_INFO_101_CONTAINER __RPC_FAR *LPSERVER_INFO_101_CONTAINER;
  50. typedef struct _BROWSER_STATISTICS_100_CONTAINER
  51. {
  52. DWORD EntriesRead;
  53. /* [size_is] */ PBROWSER_STATISTICS_100 Buffer;
  54. } BROWSER_STATISTICS_100_CONTAINER;
  55. typedef struct _BROWSER_STATISTICS_100_CONTAINER __RPC_FAR *PBROWSER_STATISTICS_100_CONTAINER;
  56. typedef struct _BROWSER_STATISTICS_101_CONTAINER
  57. {
  58. DWORD EntriesRead;
  59. /* [size_is] */ PBROWSER_STATISTICS_101 Buffer;
  60. } BROWSER_STATISTICS_101_CONTAINER;
  61. typedef struct _BROWSER_STATISTICS_101_CONTAINER __RPC_FAR *PBROWSER_STATISTICS_101_CONTAINER;
  62. typedef struct _BROWSER_EMULATED_DOMAIN_CONTAINER
  63. {
  64. DWORD EntriesRead;
  65. /* [size_is] */ PBROWSER_EMULATED_DOMAIN Buffer;
  66. } BROWSER_EMULATED_DOMAIN_CONTAINER;
  67. typedef struct _BROWSER_EMULATED_DOMAIN_CONTAINER __RPC_FAR *PBROWSER_EMULATED_DOMAIN_CONTAINER;
  68. typedef struct _SERVER_ENUM_STRUCT
  69. {
  70. DWORD Level;
  71. /* [switch_is] */ /* [switch_type] */ union _SERVER_ENUM_UNION
  72. {
  73. /* [case()] */ LPSERVER_INFO_100_CONTAINER Level100;
  74. /* [case()] */ LPSERVER_INFO_101_CONTAINER Level101;
  75. /* [default] */ /* Empty union arm */
  76. } ServerInfo;
  77. } SERVER_ENUM_STRUCT;
  78. typedef struct _SERVER_ENUM_STRUCT __RPC_FAR *PSERVER_ENUM_STRUCT;
  79. typedef struct _SERVER_ENUM_STRUCT __RPC_FAR *LPSERVER_ENUM_STRUCT;
  80. typedef struct _BROWSER_STATISTICS_STRUCT
  81. {
  82. DWORD Level;
  83. /* [switch_is] */ /* [switch_type] */ union _BROWSER_STATISTICS_UNION
  84. {
  85. /* [case()] */ PBROWSER_STATISTICS_100_CONTAINER Level100;
  86. /* [case()] */ PBROWSER_STATISTICS_101_CONTAINER Level101;
  87. /* [default] */ /* Empty union arm */
  88. } Statistics;
  89. } BROWSER_STATISTICS_STRUCT;
  90. typedef struct _BROWSER_STATISTICS_STRUCT __RPC_FAR *PBROWSER_STATISTICS_STRUCT;
  91. typedef struct _BROWSER_STATISTICS_STRUCT __RPC_FAR *LPBROWSER_STATISTICS_STRUCT;
  92. DWORD I_BrowserrServerEnum(
  93. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  94. /* [unique][string][in] */ wchar_t __RPC_FAR *TransportName,
  95. /* [unique][string][in] */ wchar_t __RPC_FAR *ClientName,
  96. /* [out][in] */ LPSERVER_ENUM_STRUCT InfoStruct,
  97. /* [in] */ DWORD PreferedMaximumLength,
  98. /* [out] */ LPDWORD TotalEntries,
  99. /* [in] */ DWORD ServerType,
  100. /* [unique][string][in] */ wchar_t __RPC_FAR *Domain,
  101. /* [unique][out][in] */ LPDWORD ResumeHandle);
  102. DWORD I_BrowserrDebugCall(
  103. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  104. /* [in] */ DWORD DebugFunction,
  105. /* [in] */ DWORD OptionalValue);
  106. DWORD I_BrowserrQueryOtherDomains(
  107. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  108. /* [out][in] */ LPSERVER_ENUM_STRUCT InfoStruct,
  109. /* [out] */ LPDWORD TotalEntries);
  110. DWORD I_BrowserrResetNetlogonState(
  111. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName);
  112. DWORD I_BrowserrDebugTrace(
  113. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  114. /* [string][in] */ LPSTR TraceString);
  115. DWORD I_BrowserrQueryStatistics(
  116. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE servername,
  117. /* [out] */ LPBROWSER_STATISTICS __RPC_FAR *statistics);
  118. DWORD I_BrowserrResetStatistics(
  119. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE servername);
  120. DWORD NetrBrowserStatisticsClear(
  121. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE servername);
  122. DWORD NetrBrowserStatisticsGet(
  123. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE servername,
  124. /* [in] */ DWORD Level,
  125. /* [out][in] */ LPBROWSER_STATISTICS_STRUCT StatisticsStruct);
  126. DWORD I_BrowserrSetNetlogonState(
  127. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  128. /* [string][in] */ wchar_t __RPC_FAR *DomainName,
  129. /* [unique][string][in] */ wchar_t __RPC_FAR *EmulatedComputerName,
  130. /* [in] */ DWORD Role);
  131. DWORD I_BrowserrQueryEmulatedDomains(
  132. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  133. /* [out][in] */ PBROWSER_EMULATED_DOMAIN_CONTAINER EmulatedDomains);
  134. DWORD I_BrowserrServerEnumEx(
  135. /* [unique][string][in] */ BROWSER_IDENTIFY_HANDLE ServerName,
  136. /* [unique][string][in] */ wchar_t __RPC_FAR *TransportName,
  137. /* [unique][string][in] */ wchar_t __RPC_FAR *ClientName,
  138. /* [out][in] */ LPSERVER_ENUM_STRUCT InfoStruct,
  139. /* [in] */ DWORD PreferedMaximumLength,
  140. /* [out] */ LPDWORD TotalEntries,
  141. /* [in] */ DWORD ServerType,
  142. /* [unique][string][in] */ wchar_t __RPC_FAR *Domain,
  143. /* [unique][string][in] */ wchar_t __RPC_FAR *FirstNameToReturn);
  144. extern handle_t browser_bhandle;
  145. extern RPC_IF_HANDLE browser_ClientIfHandle;
  146. extern RPC_IF_HANDLE browser_ServerIfHandle;
  147. #endif /* __browser_INTERFACE_DEFINED__ */
  148. /* Additional Prototypes for ALL interfaces */
  149. handle_t __RPC_USER BROWSER_IDENTIFY_HANDLE_bind ( BROWSER_IDENTIFY_HANDLE );
  150. void __RPC_USER BROWSER_IDENTIFY_HANDLE_unbind( BROWSER_IDENTIFY_HANDLE, handle_t );
  151. /* end of Additional Prototypes */
  152. #ifdef __cplusplus
  153. }
  154. #endif
  155. #endif