1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
import "srvsvc.idl";
[
uuid("6bffd098-a112-3610-9833-012892020162"),
version(0.0),
helpstring("Browsing"),
pointer_default(unique),
endpoint("ncacn_np:[\\pipe\\browser]", "ncacn_ip_tcp:", "ncalrpc:")
] interface browser
{
/******************/
/* Function 0x00 */
WERROR BrowserrServerEnum(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in,unique] [string,charset(UTF16)] uint16 *unknown2,
[in,unique] [string,charset(UTF16)] uint16 *unknown3,
[in,out,ref] BrowserrSrvInfo *info,
[in] long unknown4,
[out] long *unknown5,
[in] long unknown6,
[in,unique] [string,charset(UTF16)] uint16 *unknown7,
[in,out] [unique] long *unknown8
);
/******************/
/* Function 0x01 */
WERROR BrowserrDebugCall(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in] long unknown2,
[in] long unknown3
);
/******************/
/* Function 0x02 */
typedef struct {
uint32 entries_read;
[size_is(entries_read)] srvsvc_NetSrvInfo100 *entries;
} BrowserrSrvInfo100Ctr;
typedef struct {
uint32 entries_read;
[size_is(entries_read)] srvsvc_NetSrvInfo101 *entries;
} BrowserrSrvInfo101Ctr;
typedef [switch_type(uint32)] union {
[case(100)] [unique] BrowserrSrvInfo100Ctr *info100;
[case(101)] [unique] BrowserrSrvInfo101Ctr *info101;
[default] ;
} BrowserrSrvInfoUnion;
typedef struct {
uint32 level;
[switch_is(level)] BrowserrSrvInfoUnion info;
} BrowserrSrvInfo;
WERROR BrowserrQueryOtherDomains(
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,out,ref] BrowserrSrvInfo *info,
[out,ref] uint32 *total_entries
);
/******************/
/* Function 0x03 */
WERROR BrowserrResetNetlogonState(
[in,unique] [string,charset(UTF16)] uint16 *unknown
);
/******************/
/* Function 0x04 */
WERROR BrowserrDebugTrace(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in] [string] char *unknown2
);
/******************/
/* Function 0x05 */
typedef struct {
hyper unknown;
} TYPE_1;
typedef struct {
TYPE_1 unknown1;
TYPE_1 unknown2;
TYPE_1 unknown3;
long unknown4;
long unknown5;
long unknown6;
long unknown7;
long unknown8;
long unknown9;
long unknown10;
long unknown11;
long unknown12;
long unknown13;
long unknown14;
long unknown15;
long unknown16;
long unknown17;
long unknown18;
TYPE_1 unknown19;
} TYPE_2;
WERROR BrowserrQueryStatistics(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[out] [ref] TYPE_2 **unknown2
);
/******************/
/* Function 0x06 */
WERROR BrowserrResetStatistics(
[in,unique] [string,charset(UTF16)] uint16 *unknown
);
/******************/
/* Function 0x07 */
WERROR NetrBrowserStatisticsClear(
[in,unique] [string,charset(UTF16)] uint16 *unknown
);
typedef struct {
TYPE_1 unknown1;
TYPE_1 unknown2;
TYPE_1 unknown3;
long unknown4;
long unknown5;
long unknown6;
TYPE_1 unknown7;
long unknown8;
long unknown9;
long unknown10;
long unknown11;
long unknown12;
long unknown13;
long unknown14;
long unknown15;
long unknown16;
} TYPE_3;
/******************/
/* Function 0x08 */
WERROR NetrBrowserStatisticsGet(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in] long unknown2,
[in,out] [ref] BrowserrSrvInfo *unknown3
);
/******************/
/* Function 0x09 */
WERROR BrowserrSetNetlogonState(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in,ref] [string,charset(UTF16)] uint16 *unknown2,
[in,unique] [string,charset(UTF16)] uint16 *unknown3,
[in] long unknown4
);
/******************/
/* Function 0x0a */
typedef struct {
long unknown1;
[size_is(unknown82)] [unique] uint8 *unknown2;
} TYPE_4;
WERROR BrowserrQueryEmulatedDomains(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in,out] [ref] TYPE_4 *unknown2
);
/******************/
/* Function 0x0b */
WERROR BrowserrServerEnumEx(
[in,unique] [string,charset(UTF16)] uint16 *unknown1,
[in,unique] [string,charset(UTF16)] uint16 *unknown2,
[in,unique] [string,charset(UTF16)] uint16 *unknown3,
[in,out,ref] BrowserrSrvInfo *info,
[in] long unknown4,
[out] long *unknown5,
[in] long unknown6,
[in,unique] [string,charset(UTF16)] uint16 *unknown7,
[in,unique] [string,charset(UTF16)] uint16 *unknown8
);
}
|