ReactOS 0.4.16-dev-258-g81860b4
browser.idl
Go to the documentation of this file.
1/*
2 * Computer Browser service interface definition
3 */
4
5#include <ms-dtyp.idl>
6
7typedef [handle] wchar_t *BROWSER_IDENTIFY_HANDLE;
8
9cpp_quote("#ifndef _LMBROWSR_H")
11{
12 LPWSTR DomainName;
13 LPWSTR EmulatedServerName;
14 DWORD Role;
16cpp_quote("#endif")
17
19{
21 [size_is(EntriesRead)] PBROWSER_EMULATED_DOMAIN Buffer;
23
24cpp_quote("#ifndef _LMSERVER_H")
26{
27 DWORD sv100_platform_id;
28 LPWSTR sv100_name;
30cpp_quote("#endif")
31
33{
35 [size_is(EntriesRead)] LPSERVER_INFO_100 Buffer;
37
38typedef struct _SERVER_ENUM_STRUCT
39{
41 [switch_is(Level)] union _SERVER_ENUM_UNION
42 {
44 [default] ;
47
48cpp_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
72typedef struct _BROWSER_STATISTICS_100
73{
82
83typedef struct _BROWSER_STATISTICS_101
84{
102cpp_quote("#endif")
103
105{
107 [size_is(EntriesRead)] PBROWSER_STATISTICS_100 Buffer;
109
111{
115
117{
120 {
123 [default] ;
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
136 ,implicit_handle(handle_t browser_hBinding)
137#endif
138]
139interface browser
140{
141 /* Function 0 */
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) */
159
160 /* Function 2 */
164 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
165 [in, out] LPSERVER_ENUM_STRUCT EnumStruct,
166 [out] LPDWORD TotalEntries);
167
168 /* Function 3 */
172 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
173
174 /* Function 4 */
178 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
179 [in, string] LPSTR String);
180
181 /* Function 5 */
185 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
186 [out] LPBROWSER_STATISTICS *Statistics);
187
188 /* Function 6 */
192 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
193
194 /* Function 7 - Not used on wire */
198 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
199
200 /* Function 8 */
204 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
205 [in] DWORD Level,
206 [in, out] LPBROWSER_STATISTICS_STRUCT StatisticsStruct);
207
208 /* Function 9 */
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 */
221 [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
222 [in, out] PBROWSER_EMULATED_DOMAIN_CONTAINER EmulatedDomains);
223
224 /* Function 11 (BrowserrServerEnumEx) */
228}
NET_API_STATUS __stdcall I_BrowserrQueryOtherDomains(BROWSER_IDENTIFY_HANDLE ServerName, LPSERVER_ENUM_STRUCT EnumStruct, LPDWORD TotalEntries)
Definition: rpcserver.c:93
NET_API_STATUS __stdcall BrowserOpnum1NotUsedOnWire(VOID)
Definition: rpcserver.c:83
NET_API_STATUS __stdcall I_BrowserrQueryEmulatedDomains(BROWSER_IDENTIFY_HANDLE ServerName, PBROWSER_EMULATED_DOMAIN_CONTAINER EmulatedDomains)
Definition: rpcserver.c:190
NET_API_STATUS __stdcall NetrBrowserStatisticsGet(BROWSER_IDENTIFY_HANDLE ServerName, DWORD Level, LPBROWSER_STATISTICS_STRUCT StatisticsStruct)
Definition: rpcserver.c:163
NET_API_STATUS __stdcall I_BrowserrServerEnum(BROWSER_IDENTIFY_HANDLE ServerName, LPWSTR Transport, LPWSTR ClientName, LPSERVER_ENUM_STRUCT EnumStruct, DWORD PreferedMaximumLength, LPDWORD TotalEntries, DWORD ServerType, LPWSTR Domain, LPDWORD ResumeHandle)
Definition: rpcserver.c:64
NET_API_STATUS __stdcall I_BrowserrQueryStatistics(BROWSER_IDENTIFY_HANDLE ServerName, LPBROWSER_STATISTICS *Statistics)
Definition: rpcserver.c:129
NET_API_STATUS __stdcall I_BrowserrSetNetlogonState(BROWSER_IDENTIFY_HANDLE ServerName, LPWSTR DomainName, LPWSTR EmulatedComputerName, DWORD Role)
Definition: rpcserver.c:176
NET_API_STATUS __stdcall I_BrowserrDebugTrace(BROWSER_IDENTIFY_HANDLE ServerName, LPSTR String)
Definition: rpcserver.c:117
NET_API_STATUS __stdcall I_BrowserrResetNetlogonState(BROWSER_IDENTIFY_HANDLE ServerName)
Definition: rpcserver.c:106
NET_API_STATUS __stdcall I_BrowserrResetStatistics(BROWSER_IDENTIFY_HANDLE ServerName)
Definition: rpcserver.c:141
NET_API_STATUS __stdcall BrowserOpnum11NotUsedOnWire(void)
Definition: rpcserver.c:202
NET_API_STATUS __stdcall NetrBrowserStatisticsClear(BROWSER_IDENTIFY_HANDLE ServerName)
Definition: rpcserver.c:152
implicit_handle(handle_t browser_hBinding)] interface browser
Definition: browser.idl:136
struct _BROWSER_STATISTICS_100 * PBROWSER_STATISTICS_100
struct _SERVER_INFO_100_CONTAINER * LPSERVER_INFO_100_CONTAINER
struct _BROWSER_STATISTICS_100_CONTAINER BROWSER_STATISTICS_100_CONTAINER
struct _SERVER_INFO_100_CONTAINER * PSERVER_INFO_100_CONTAINER
struct _BROWSER_STATISTICS * PBROWSER_STATISTICS
struct _BROWSER_STATISTICS_101 * PBROWSER_STATISTICS_101
struct _SERVER_INFO_100_CONTAINER SERVER_INFO_100_CONTAINER
struct _BROWSER_STATISTICS_STRUCT * PBROWSER_STATISTICS_STRUCT
struct _SERVER_INFO_100 * LPSERVER_INFO_100
struct _BROWSER_EMULATED_DOMAIN BROWSER_EMULATED_DOMAIN
struct _BROWSER_STATISTICS_STRUCT BROWSER_STATISTICS_STRUCT
wchar_t * BROWSER_IDENTIFY_HANDLE
Definition: browser.idl:7
struct _BROWSER_STATISTICS * LPBROWSER_STATISTICS
struct _BROWSER_STATISTICS BROWSER_STATISTICS
struct _SERVER_ENUM_STRUCT * LPSERVER_ENUM_STRUCT
struct _BROWSER_STATISTICS_101_CONTAINER BROWSER_STATISTICS_101_CONTAINER
struct _BROWSER_EMULATED_DOMAIN_CONTAINER * PBROWSER_EMULATED_DOMAIN_CONTAINER
struct _SERVER_ENUM_STRUCT SERVER_ENUM_STRUCT
struct _SERVER_ENUM_STRUCT * PSERVER_ENUM_STRUCT
struct _BROWSER_STATISTICS_100_CONTAINER * PBROWSER_STATISTICS_100_CONTAINER
struct _BROWSER_EMULATED_DOMAIN * PBROWSER_EMULATED_DOMAIN
struct _BROWSER_STATISTICS_101 BROWSER_STATISTICS_101
struct _BROWSER_STATISTICS_100 BROWSER_STATISTICS_100
struct _SERVER_INFO_100 * PSERVER_INFO_100
struct _BROWSER_STATISTICS_101_CONTAINER * PBROWSER_STATISTICS_101_CONTAINER
struct _BROWSER_STATISTICS_STRUCT * LPBROWSER_STATISTICS_STRUCT
struct _SERVER_INFO_100 SERVER_INFO_100
struct _BROWSER_EMULATED_DOMAIN_CONTAINER BROWSER_EMULATED_DOMAIN_CONTAINER
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
Definition: dcom.idl:35
static const WCHAR version[]
Definition: asmname.c:66
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint in
Definition: glext.h:9616
Definition: msctf.idl:550
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
static FILE * out
Definition: regtests2xml.c:44
PBROWSER_EMULATED_DOMAIN Buffer
Definition: browser.idl:21
PBROWSER_STATISTICS_100 Buffer
Definition: browser.idl:107
LARGE_INTEGER StartTime
Definition: lmbrowsr.h:34
LARGE_INTEGER NumberOfDomainAnnouncements
Definition: lmbrowsr.h:36
ULONG NumberOfGetBrowserServerListRequests
Definition: lmbrowsr.h:39
LARGE_INTEGER NumberOfServerAnnouncements
Definition: lmbrowsr.h:35
ULONG NumberOfElectionPackets
Definition: lmbrowsr.h:37
ULONG NumberOfMailslotWrites
Definition: lmbrowsr.h:38
LARGE_INTEGER NumberOfIllegalDatagrams
Definition: lmbrowsr.h:40
PBROWSER_STATISTICS_101 Buffer
Definition: browser.idl:113
ULONG NumberOfFailedMailslotWrites
Definition: lmbrowsr.h:56
ULONG NumberOfGetBrowserServerListRequests
Definition: lmbrowsr.h:48
ULONG NumberOfFailedMailslotAllocations
Definition: lmbrowsr.h:54
LARGE_INTEGER StartTime
Definition: lmbrowsr.h:43
ULONG NumberOfDuplicateMasterAnnouncements
Definition: lmbrowsr.h:58
ULONG NumberOfMailslotWrites
Definition: lmbrowsr.h:47
ULONG NumberOfFailedMailslotOpens
Definition: lmbrowsr.h:57
LARGE_INTEGER NumberOfIllegalDatagrams
Definition: lmbrowsr.h:49
ULONG NumberOfMissedServerAnnouncements
Definition: lmbrowsr.h:50
LARGE_INTEGER NumberOfServerAnnouncements
Definition: lmbrowsr.h:44
ULONG NumberOfElectionPackets
Definition: lmbrowsr.h:46
ULONG NumberOfMissedGetBrowserServerListRequests
Definition: lmbrowsr.h:52
ULONG NumberOfFailedServerAnnounceAllocations
Definition: lmbrowsr.h:53
ULONG NumberOfFailedMailslotReceives
Definition: lmbrowsr.h:55
ULONG NumberOfMissedMailslotDatagrams
Definition: lmbrowsr.h:51
LARGE_INTEGER NumberOfDomainAnnouncements
Definition: lmbrowsr.h:45
union _BROWSER_STATISTICS_STRUCT::_BROWSER_STATISTICS_UNION Statistics
union _SERVER_ENUM_STRUCT::_SERVER_ENUM_UNION ServerInfo
LPSERVER_INFO_100 Buffer
Definition: browser.idl:35
Definition: nis.h:10
uint32_t * LPDWORD
Definition: typedefs.h:59
#define __stdcall
Definition: typedefs.h:25
uint32_t ULONG
Definition: typedefs.h:59
PBROWSER_STATISTICS_100_CONTAINER Level100
Definition: browser.idl:121
PBROWSER_STATISTICS_101_CONTAINER Level101
Definition: browser.idl:122
LPSERVER_INFO_100_CONTAINER Level100
Definition: browser.idl:43
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184