ReactOS  0.4.14-dev-317-g96040ec
browser.idl
Go to the documentation of this file.
1 /*
2  * Computer Browser service interface definition
3  */
4 
5 #include <ms-dtyp.idl>
6 
7 typedef [handle] wchar_t *BROWSER_IDENTIFY_HANDLE;
8 
9 cpp_quote("#ifndef _LMBROWSR_H")
11 {
12  LPWSTR DomainName;
13  LPWSTR EmulatedServerName;
14  DWORD Role;
16 cpp_quote("#endif")
17 
19 {
21  [size_is(EntriesRead)] PBROWSER_EMULATED_DOMAIN Buffer;
23 
24 cpp_quote("#ifndef _LMSERVER_H")
26 {
27  DWORD sv100_platform_id;
28  LPWSTR sv100_name;
30 cpp_quote("#endif")
31 
33 {
35  [size_is(EntriesRead)] LPSERVER_INFO_100 Buffer;
37 
38 typedef struct _SERVER_ENUM_STRUCT
39 {
41  [switch_is(Level)] union _SERVER_ENUM_UNION
42  {
44  [default] ;
45  } ServerInfo;
47 
48 cpp_quote("#ifndef _LMBROWSR_H")
50 {
51  LARGE_INTEGER StatisticsStartTime;
52  LARGE_INTEGER NumberOfServerAnnouncements;
53  LARGE_INTEGER NumberOfDomainAnnouncements;
54  ULONG NumberOfElectionPackets;
55  ULONG NumberOfMailslotWrites;
56  ULONG NumberOfGetBrowserServerListRequests;
57  ULONG NumberOfServerEnumerations;
58  ULONG NumberOfDomainEnumerations;
59  ULONG NumberOfOtherEnumerations;
60  ULONG NumberOfMissedServerAnnouncements;
61  ULONG NumberOfMissedMailslotDatagrams;
62  ULONG NumberOfMissedGetBrowserServerListRequests;
63  ULONG NumberOfFailedServerAnnounceAllocations;
64  ULONG NumberOfFailedMailslotAllocations;
65  ULONG NumberOfFailedMailslotReceives;
66  ULONG NumberOfFailedMailslotWrites;
67  ULONG NumberOfFailedMailslotOpens;
68  ULONG NumberOfDuplicateMasterAnnouncements;
69  LARGE_INTEGER NumberOfIllegalDatagrams;
71 
72 typedef struct _BROWSER_STATISTICS_100
73 {
82 
83 typedef struct _BROWSER_STATISTICS_101
84 {
102 cpp_quote("#endif")
103 
105 {
107  [size_is(EntriesRead)] PBROWSER_STATISTICS_100 Buffer;
109 
111 {
115 
117 {
119  [switch_is(Level)] union _BROWSER_STATISTICS_UNION
120  {
123  [default] ;
124  } Statistics;
126 
127 [
128  uuid(6BFFD098-A112-3610-9833-012892020162),
129  version(0.0),
131 #ifdef __midl
132  ms_union,
133 #endif
134  endpoint("ncacn_np:[\\pipe\\browser]")
135 #ifndef __midl
137 #endif
138 ]
139 interface browser
140 {
141  /* Function 0 */
143  __stdcall
144  I_BrowserrServerEnum(
145  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
146  [in, string, unique] LPWSTR Transport,
147  [in, string, unique] LPWSTR ClientName,
148  [in, out] LPSERVER_ENUM_STRUCT EnumStruct,
149  [in] DWORD PreferedMaximumLength,
150  [out] LPDWORD TotalEntries,
151  [in] DWORD ServerType,
152  [in, string, unique] LPWSTR Domain,
153  [in, out, unique] LPDWORD ResumeHandle);
154 
155  /* Function 1 (BrowserrDebugCall) */
157  __stdcall
158  BrowserOpnum1NotUsedOnWire(void);
159 
160  /* Function 2 */
162  __stdcall
163  I_BrowserrQueryOtherDomains(
164  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
165  [in, out] LPSERVER_ENUM_STRUCT EnumStruct,
166  [out] LPDWORD TotalEntries);
167 
168  /* Function 3 */
170  __stdcall
171  I_BrowserrResetNetlogonState(
172  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
173 
174  /* Function 4 */
176  __stdcall
177  I_BrowserrDebugTrace(
178  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
179  [in, string] LPSTR String);
180 
181  /* Function 5 */
183  __stdcall
184  I_BrowserrQueryStatistics(
185  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
186  [out] LPBROWSER_STATISTICS *Statistics);
187 
188  /* Function 6 */
190  __stdcall
191  I_BrowserrResetStatistics(
192  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
193 
194  /* Function 7 - Not used on wire */
196  __stdcall
197  NetrBrowserStatisticsClear(
198  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
199 
200  /* Function 8 */
202  __stdcall
203  NetrBrowserStatisticsGet(
204  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
205  [in] DWORD Level,
206  [in, out] LPBROWSER_STATISTICS_STRUCT StatisticsStruct);
207 
208  /* Function 9 */
210  __stdcall
211  I_BrowserrSetNetlogonState(
212  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
213  [in, string] LPWSTR DomainName,
214  [in, string, unique] LPWSTR EmulatedComputerName,
215  [in] DWORD Role);
216 
217  /* Function 10 */
219  __stdcall
220  I_BrowserrQueryEmulatedDomains(
221  [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
222  [in, out] PBROWSER_EMULATED_DOMAIN_CONTAINER EmulatedDomains);
223 
224  /* Function 11 (BrowserrServerEnumEx) */
226  __stdcall
227  BrowserOpnum11NotUsedOnWire(void);
228 }
struct _BROWSER_EMULATED_DOMAIN BROWSER_EMULATED_DOMAIN
struct _BROWSER_STATISTICS_101_CONTAINER * PBROWSER_STATISTICS_101_CONTAINER
struct _BROWSER_STATISTICS_STRUCT BROWSER_STATISTICS_STRUCT
struct _SERVER_INFO_100_CONTAINER * LPSERVER_INFO_100_CONTAINER
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED LPLOOKUPSERVICE_COMPLETION_ROUTINE HANDLE * handle
Definition: sock.c:82
LARGE_INTEGER NumberOfIllegalDatagrams
Definition: lmbrowsr.h:49
struct _BROWSER_STATISTICS_100_CONTAINER * PBROWSER_STATISTICS_100_CONTAINER
LARGE_INTEGER NumberOfServerAnnouncements
Definition: lmbrowsr.h:44
handle_t hBinding
Definition: ctx_c.c:54
struct _SERVER_INFO_100_CONTAINER * PSERVER_INFO_100_CONTAINER
LARGE_INTEGER NumberOfServerAnnouncements
Definition: lmbrowsr.h:35
LPSERVER_INFO_100_CONTAINER Level100
Definition: browser.idl:43
struct _BROWSER_STATISTICS * PBROWSER_STATISTICS
LPSERVER_INFO_100 Buffer
Definition: browser.idl:35
LARGE_INTEGER StartTime
Definition: lmbrowsr.h:34
struct _SERVER_INFO_100 SERVER_INFO_100
struct _BROWSER_EMULATED_DOMAIN * PBROWSER_EMULATED_DOMAIN
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:55
PBROWSER_STATISTICS_100 Buffer
Definition: browser.idl:107
static WCHAR String[]
Definition: stringtable.c:55
struct _BROWSER_STATISTICS_101 * PBROWSER_STATISTICS_101
struct _BROWSER_STATISTICS * LPBROWSER_STATISTICS
char * LPSTR
Definition: xmlstorage.h:182
wchar_t * BROWSER_IDENTIFY_HANDLE
Definition: browser.idl:7
ULONG NumberOfElectionPackets
Definition: lmbrowsr.h:37
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
struct _BROWSER_STATISTICS_101 BROWSER_STATISTICS_101
PBROWSER_STATISTICS_100_CONTAINER Level100
Definition: browser.idl:121
struct _SERVER_INFO_100 * PSERVER_INFO_100
ULONG NumberOfGetBrowserServerListRequests
Definition: lmbrowsr.h:39
ULONG NumberOfFailedMailslotOpens
Definition: lmbrowsr.h:57
static const WCHAR version[]
Definition: asmname.c:66
ULONG NumberOfGetBrowserServerListRequests
Definition: lmbrowsr.h:48
LARGE_INTEGER StartTime
Definition: lmbrowsr.h:43
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
struct _BROWSER_EMULATED_DOMAIN_CONTAINER * PBROWSER_EMULATED_DOMAIN_CONTAINER
struct _BROWSER_STATISTICS BROWSER_STATISTICS
LARGE_INTEGER NumberOfDomainAnnouncements
Definition: lmbrowsr.h:45
LARGE_INTEGER NumberOfDomainAnnouncements
Definition: lmbrowsr.h:36
PBROWSER_STATISTICS_101_CONTAINER Level101
Definition: browser.idl:122
struct _BROWSER_STATISTICS_101_CONTAINER BROWSER_STATISTICS_101_CONTAINER
ULONG NumberOfDuplicateMasterAnnouncements
Definition: lmbrowsr.h:58
ULONG NumberOfElectionPackets
Definition: lmbrowsr.h:46
LARGE_INTEGER NumberOfIllegalDatagrams
Definition: lmbrowsr.h:40
struct endpoint endpoint
Definition: nis.h:15
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _BROWSER_STATISTICS_100_CONTAINER BROWSER_STATISTICS_100_CONTAINER
#define __stdcall
Definition: typedefs.h:25
struct _BROWSER_STATISTICS_100 * PBROWSER_STATISTICS_100
ULONG NumberOfMissedGetBrowserServerListRequests
Definition: lmbrowsr.h:52
struct _SERVER_INFO_100 * LPSERVER_INFO_100
ULONG NumberOfFailedMailslotReceives
Definition: lmbrowsr.h:55
PBROWSER_EMULATED_DOMAIN Buffer
Definition: browser.idl:21
ULONG NumberOfMailslotWrites
Definition: lmbrowsr.h:38
struct _BROWSER_STATISTICS_STRUCT * LPBROWSER_STATISTICS_STRUCT
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
ULONG NumberOfFailedMailslotAllocations
Definition: lmbrowsr.h:54
struct _SERVER_ENUM_STRUCT * PSERVER_ENUM_STRUCT
implicit_handle(handle_t hBinding)] interface browser
Definition: browser.idl:136
struct _BROWSER_STATISTICS_STRUCT * PBROWSER_STATISTICS_STRUCT
uint32_t * LPDWORD
Definition: typedefs.h:57
struct _SERVER_ENUM_STRUCT SERVER_ENUM_STRUCT
unsigned int ULONG
Definition: retypes.h:1
union _SERVER_ENUM_STRUCT::_SERVER_ENUM_UNION ServerInfo
struct _BROWSER_EMULATED_DOMAIN_CONTAINER BROWSER_EMULATED_DOMAIN_CONTAINER
ULONG NumberOfFailedServerAnnounceAllocations
Definition: lmbrowsr.h:53
struct _BROWSER_STATISTICS_100 BROWSER_STATISTICS_100
ULONG NumberOfMissedMailslotDatagrams
Definition: lmbrowsr.h:51
WCHAR * LPWSTR
Definition: xmlstorage.h:184
union _BROWSER_STATISTICS_STRUCT::_BROWSER_STATISTICS_UNION Statistics
ULONG NumberOfMissedServerAnnouncements
Definition: lmbrowsr.h:50
struct _SERVER_ENUM_STRUCT * LPSERVER_ENUM_STRUCT
ULONG NumberOfMailslotWrites
Definition: lmbrowsr.h:47
ULONG NumberOfFailedMailslotWrites
Definition: lmbrowsr.h:56
PBROWSER_STATISTICS_101 Buffer
Definition: browser.idl:113
struct _SERVER_INFO_100_CONTAINER SERVER_INFO_100_CONTAINER