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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
|
/*++
Copyright (c) 1993 Microsoft Corporation
Module Name:
rplsvc.idl
Abstract:
This is the IDL file that describes the RPC interface for the
remotable NetRpl APIs that reside in the messenger service.
Author:
Vladimir Z. Vulovic (vladimv) 27-July-1993
Environment:
User Mode -Win32
Revision History:
27-July-1993 vladimv
Created
--*/
//
// Interface Attributes
//
[
uuid(28607FF1-15A0-8E03-D670-B89EEC8EB047),
version(1.0),
#ifdef __midl
ms_union,
#endif // __midl
pointer_default(unique)
]
//
// Interface Keyword
//
interface rplsvc
//
// Interface Body
//
{
import "imports.idl";
#include <lmcons.h>
//
// BUGBUG - take this definition out when midl understands LPWSTR etc
//
#ifdef UNICODE
#define LPTSTR wchar_t*
#endif
//
// Generic Handle used to bind from client to server.
//
typedef [handle] LPTSTR RPL_NAME;
typedef RPL_NAME * PRPL_NAME;
typedef PRPL_NAME LPRPL_NAME;
//
// Context Handle (internal definition)
//
typedef [context_handle] PVOID RPL_RPC_HANDLE;
typedef RPL_RPC_HANDLE * PRPL_RPC_HANDLE;
typedef PRPL_RPC_HANDLE LPRPL_RPC_HANDLE;
//
// Data Structures
//
//
// SERVICE data - used by Get & Set
//
typedef [switch_type(DWORD)] union _RPL_INFO_STRUCT {
[case(0)] LPRPL_INFO_0 RplInfo0;
[case(1)] LPRPL_INFO_1 RplInfo1;
} RPL_INFO_STRUCT, *PRPL_INFO_STRUCT, *LPRPL_INFO_STRUCT;
//
// BOOT data - used by Enum
//
typedef struct _RPL_BOOT_INFO_0_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_BOOT_INFO_0 Buffer;
} RPL_BOOT_INFO_0_CONTAINER, *PRPL_BOOT_INFO_0_CONTAINER, *LPRPL_BOOT_INFO_0_CONTAINER;
typedef struct _RPL_BOOT_INFO_1_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_BOOT_INFO_1 Buffer;
} RPL_BOOT_INFO_1_CONTAINER, *PRPL_BOOT_INFO_1_CONTAINER, *LPRPL_BOOT_INFO_1_CONTAINER;
typedef struct _RPL_BOOT_INFO_2_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_BOOT_INFO_2 Buffer;
} RPL_BOOT_INFO_2_CONTAINER, *PRPL_BOOT_INFO_2_CONTAINER, *LPRPL_BOOT_INFO_2_CONTAINER;
typedef struct _RPL_BOOT_ENUM {
DWORD Level;
[switch_is(Level)] union _RPL_BOOT_ENUM_UNION {
[case(0)] LPRPL_BOOT_INFO_0_CONTAINER Level0;
[case(1)] LPRPL_BOOT_INFO_1_CONTAINER Level1;
[case(2)] LPRPL_BOOT_INFO_2_CONTAINER Level2;
} BootInfo;
} RPL_BOOT_ENUM, *PRPL_BOOT_ENUM, *LPRPL_BOOT_ENUM;
typedef [switch_type(DWORD)] union _RPL_BOOT_INFO_STRUCT {
[case(0)] LPRPL_BOOT_INFO_0 BootInfo0;
[case(1)] LPRPL_BOOT_INFO_1 BootInfo1;
[case(2)] LPRPL_BOOT_INFO_2 BootInfo2;
} RPL_BOOT_INFO_STRUCT, *PRPL_BOOT_INFO_STRUCT, *LPRPL_BOOT_INFO_STRUCT;
//
// CONFIG data - used by Enum
//
typedef struct _RPL_CONFIG_INFO_0_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_CONFIG_INFO_0 Buffer;
} RPL_CONFIG_INFO_0_CONTAINER, *PRPL_CONFIG_INFO_0_CONTAINER, *LPRPL_CONFIG_INFO_0_CONTAINER;
typedef struct _RPL_CONFIG_INFO_1_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_CONFIG_INFO_1 Buffer;
} RPL_CONFIG_INFO_1_CONTAINER, *PRPL_CONFIG_INFO_1_CONTAINER, *LPRPL_CONFIG_INFO_1_CONTAINER;
typedef struct _RPL_CONFIG_INFO_2_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_CONFIG_INFO_2 Buffer;
} RPL_CONFIG_INFO_2_CONTAINER, *PRPL_CONFIG_INFO_2_CONTAINER, *LPRPL_CONFIG_INFO_2_CONTAINER;
typedef struct _RPL_CONFIG_ENUM {
DWORD Level;
[switch_is(Level)] union _RPL_CONFIG_ENUM_UNION {
[case(0)] LPRPL_CONFIG_INFO_0_CONTAINER Level0;
[case(1)] LPRPL_CONFIG_INFO_1_CONTAINER Level1;
[case(2)] LPRPL_CONFIG_INFO_2_CONTAINER Level2;
} ConfigInfo;
} RPL_CONFIG_ENUM, *PRPL_CONFIG_ENUM, *LPRPL_CONFIG_ENUM;
typedef [switch_type(DWORD)] union _RPL_CONFIG_INFO_STRUCT {
[case(0)] LPRPL_CONFIG_INFO_0 ConfigInfo0;
[case(1)] LPRPL_CONFIG_INFO_1 ConfigInfo1;
[case(2)] LPRPL_CONFIG_INFO_2 ConfigInfo2;
} RPL_CONFIG_INFO_STRUCT, *PRPL_CONFIG_INFO_STRUCT, *LPRPL_CONFIG_INFO_STRUCT;
//
// PROFILE data - used by Enum, Get, Set & Add
//
typedef struct _RPL_PROFILE_INFO_0_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_PROFILE_INFO_0 Buffer;
} RPL_PROFILE_INFO_0_CONTAINER, *PRPL_PROFILE_INFO_0_CONTAINER, *LPRPL_PROFILE_INFO_0_CONTAINER;
typedef struct _RPL_PROFILE_INFO_1_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_PROFILE_INFO_1 Buffer;
} RPL_PROFILE_INFO_1_CONTAINER, *PRPL_PROFILE_INFO_1_CONTAINER, *LPRPL_PROFILE_INFO_1_CONTAINER;
typedef struct _RPL_PROFILE_INFO_2_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_PROFILE_INFO_2 Buffer;
} RPL_PROFILE_INFO_2_CONTAINER, *PRPL_PROFILE_INFO_2_CONTAINER, *LPRPL_PROFILE_INFO_2_CONTAINER;
typedef struct _RPL_PROFILE_ENUM {
DWORD Level;
[switch_is(Level)] union _RPL_PROFILE_ENUM_UNION {
[case(0)] LPRPL_PROFILE_INFO_0_CONTAINER Level0;
[case(1)] LPRPL_PROFILE_INFO_1_CONTAINER Level1;
[case(2)] LPRPL_PROFILE_INFO_2_CONTAINER Level2;
} ProfileInfo;
} RPL_PROFILE_ENUM, *PRPL_PROFILE_ENUM, *LPRPL_PROFILE_ENUM;
typedef [switch_type(DWORD)] union _RPL_PROFILE_INFO_STRUCT {
[case(0)] LPRPL_PROFILE_INFO_0 ProfileInfo0;
[case(1)] LPRPL_PROFILE_INFO_1 ProfileInfo1;
[case(2)] LPRPL_PROFILE_INFO_2 ProfileInfo2;
} RPL_PROFILE_INFO_STRUCT, *PRPL_PROFILE_INFO_STRUCT, *LPRPL_PROFILE_INFO_STRUCT, PRPL_PROFILE_INFO, LPRPL_PROFILE_INFO;
//
// VENDOR data - used by Enum
//
typedef struct _RPL_VENDOR_INFO_0_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_VENDOR_INFO_0 Buffer;
} RPL_VENDOR_INFO_0_CONTAINER, *PRPL_VENDOR_INFO_0_CONTAINER, *LPRPL_VENDOR_INFO_0_CONTAINER;
typedef struct _RPL_VENDOR_INFO_1_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_VENDOR_INFO_1 Buffer;
} RPL_VENDOR_INFO_1_CONTAINER, *PRPL_VENDOR_INFO_1_CONTAINER, *LPRPL_VENDOR_INFO_1_CONTAINER;
typedef struct _RPL_VENDOR_ENUM {
DWORD Level;
[switch_is(Level)] union _RPL_VENDOR_ENUM_UNION {
[case(0)] LPRPL_VENDOR_INFO_0_CONTAINER Level0;
[case(1)] LPRPL_VENDOR_INFO_1_CONTAINER Level1;
} VendorInfo;
} RPL_VENDOR_ENUM, *PRPL_VENDOR_ENUM, *LPRPL_VENDOR_ENUM;
typedef [switch_type(DWORD)] union _RPL_VENDOR_INFO_STRUCT {
[case(0)] LPRPL_VENDOR_INFO_0 VendorInfo0;
[case(1)] LPRPL_VENDOR_INFO_1 VendorInfo1;
} RPL_VENDOR_INFO_STRUCT, *PRPL_VENDOR_INFO_STRUCT, *LPRPL_VENDOR_INFO_STRUCT;
//
// ADAPTER data - used by Enum
//
typedef struct _RPL_ADAPTER_INFO_0_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_ADAPTER_INFO_0 Buffer;
} RPL_ADAPTER_INFO_0_CONTAINER, *PRPL_ADAPTER_INFO_0_CONTAINER, *LPRPL_ADAPTER_INFO_0_CONTAINER;
typedef struct _RPL_ADAPTER_INFO_1_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_ADAPTER_INFO_1 Buffer;
} RPL_ADAPTER_INFO_1_CONTAINER, *PRPL_ADAPTER_INFO_1_CONTAINER, *LPRPL_ADAPTER_INFO_1_CONTAINER;
typedef struct _RPL_ADAPTER_ENUM {
DWORD Level;
[switch_is(Level)] union _RPL_ADAPTER_ENUM_UNION {
[case(0)] LPRPL_ADAPTER_INFO_0_CONTAINER Level0;
[case(1)] LPRPL_ADAPTER_INFO_1_CONTAINER Level1;
} AdapterInfo;
} RPL_ADAPTER_ENUM, *PRPL_ADAPTER_ENUM, *LPRPL_ADAPTER_ENUM;
typedef [switch_type(DWORD)] union _RPL_ADAPTER_INFO_STRUCT {
[case(0)] LPRPL_ADAPTER_INFO_0 AdapterInfo0;
[case(1)] LPRPL_ADAPTER_INFO_1 AdapterInfo1;
} RPL_ADAPTER_INFO_STRUCT, *PRPL_ADAPTER_INFO_STRUCT, *LPRPL_ADAPTER_INFO_STRUCT;
//
// WKSTA data - used by Enum, Get, Set & Add
//
typedef struct _RPL_WKSTA_INFO_0_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_WKSTA_INFO_0 Buffer;
} RPL_WKSTA_INFO_0_CONTAINER, *PRPL_WKSTA_INFO_0_CONTAINER, *LPRPL_WKSTA_INFO_0_CONTAINER;
typedef struct _RPL_WKSTA_INFO_1_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_WKSTA_INFO_1 Buffer;
} RPL_WKSTA_INFO_1_CONTAINER, *PRPL_WKSTA_INFO_1_CONTAINER, *LPRPL_WKSTA_INFO_1_CONTAINER;
typedef struct _RPL_WKSTA_INFO_2_CONTAINER {
DWORD EntriesRead;
[size_is(EntriesRead)] LPRPL_WKSTA_INFO_2 Buffer;
} RPL_WKSTA_INFO_2_CONTAINER, *PRPL_WKSTA_INFO_2_CONTAINER, *LPRPL_WKSTA_INFO_2_CONTAINER;
typedef struct _RPL_WKSTA_ENUM {
DWORD Level;
[switch_is(Level)] union _RPL_WKSTA_ENUM_UNION {
[case(0)] LPRPL_WKSTA_INFO_0_CONTAINER Level0;
[case(1)] LPRPL_WKSTA_INFO_1_CONTAINER Level1;
[case(2)] LPRPL_WKSTA_INFO_2_CONTAINER Level2;
} WkstaInfo;
} RPL_WKSTA_ENUM, *PRPL_WKSTA_ENUM, *LPRPL_WKSTA_ENUM;
typedef [switch_type(DWORD)] union _RPL_WKSTA_INFO_STRUCT {
[case(0)] LPRPL_WKSTA_INFO_0 WkstaInfo0;
[case(1)] LPRPL_WKSTA_INFO_1 WkstaInfo1;
[case(2)] LPRPL_WKSTA_INFO_2 WkstaInfo2;
} RPL_WKSTA_INFO_STRUCT, *PRPL_WKSTA_INFO_STRUCT, *LPRPL_WKSTA_INFO_STRUCT;
//
// Function Prototypes
//
//
// Service apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplOpen(
[in,string,unique] RPL_NAME ServerName,
[out] LPRPL_RPC_HANDLE ServerHandle
);
NET_API_STATUS NET_API_FUNCTION
NetrRplClose(
[in,out] LPRPL_RPC_HANDLE ServerHandle
);
NET_API_STATUS NET_API_FUNCTION
NetrRplGetInfo(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[out, switch_is(Level)] LPRPL_INFO_STRUCT InfoStruct
);
NET_API_STATUS NET_API_FUNCTION
NetrRplSetInfo(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_INFO_STRUCT InfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
//
// ADAPTER apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplAdapterAdd(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_ADAPTER_INFO_STRUCT AdapterInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
NET_API_STATUS NET_API_FUNCTION
NetrRplAdapterDel(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string,unique] LPTSTR AdapterName
);
NET_API_STATUS NET_API_FUNCTION
NetrRplAdapterEnum(
[in] RPL_RPC_HANDLE ServerHandle,
[in,out] LPRPL_ADAPTER_ENUM AdapterEnum,
[in] DWORD PrefMaxLength,
[out] LPDWORD TotalEntries,
[in,out,unique] LPDWORD ResumeHandle
);
//
// BOOT apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplBootAdd(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_BOOT_INFO_STRUCT BootInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
NET_API_STATUS NET_API_FUNCTION
NetrRplBootDel(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR BootName,
[in,string] LPTSTR VendorName
);
NET_API_STATUS NET_API_FUNCTION
NetrRplBootEnum(
[in] RPL_RPC_HANDLE ServerHandle,
[in,out] LPRPL_BOOT_ENUM BootEnum,
[in] DWORD PrefMaxLength,
[out] LPDWORD TotalEntries,
[in,out,unique] LPDWORD ResumeHandle
);
//
// CONFIG apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplConfigAdd(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_CONFIG_INFO_STRUCT ConfigInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
NET_API_STATUS NET_API_FUNCTION
NetrRplConfigDel(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR ConfigName
);
NET_API_STATUS NET_API_FUNCTION
NetrRplConfigEnum(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string,unique] LPTSTR AdapterName,
[in,out] LPRPL_CONFIG_ENUM ConfigEnum,
[in] DWORD PrefMaxLength,
[out] LPDWORD TotalEntries,
[in,out,unique] LPDWORD ResumeHandle
);
//
// PROFILE apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplProfileAdd(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_PROFILE_INFO_STRUCT ProfileInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
NET_API_STATUS NET_API_FUNCTION
NetrRplProfileClone(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR SourceProfileName,
[in,string] LPTSTR TargetProfileName,
[in,string,unique] LPTSTR TargetProfileComment
);
NET_API_STATUS NET_API_FUNCTION
NetrRplProfileDel(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR ProfileName
);
NET_API_STATUS NET_API_FUNCTION
NetrRplProfileEnum(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string,unique] LPTSTR AdapterName,
[in,out] LPRPL_PROFILE_ENUM ProfileEnum,
[in] DWORD PrefMaxLength,
[out] LPDWORD TotalEntries,
[in,out,unique] LPDWORD ResumeHandle
);
NET_API_STATUS NET_API_FUNCTION
NetrRplProfileGetInfo(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR ProfileName,
[in] DWORD Level,
[out, switch_is(Level)] LPRPL_PROFILE_INFO_STRUCT ProfileInfoStruct
);
NET_API_STATUS NET_API_FUNCTION
NetrRplProfileSetInfo(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR ProfileName,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_PROFILE_INFO_STRUCT ProfileInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
//
// VENDOR apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplVendorAdd(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_VENDOR_INFO_STRUCT VendorInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
NET_API_STATUS NET_API_FUNCTION
NetrRplVendorDel(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR VendorName
);
NET_API_STATUS NET_API_FUNCTION
NetrRplVendorEnum(
[in] RPL_RPC_HANDLE ServerHandle,
[in,out] LPRPL_VENDOR_ENUM VendorEnum,
[in] DWORD PrefMaxLength,
[out] LPDWORD TotalEntries,
[in,out,unique] LPDWORD ResumeHandle
);
//
// WKSTA apis
//
NET_API_STATUS NET_API_FUNCTION
NetrRplWkstaAdd(
[in] RPL_RPC_HANDLE ServerHandle,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_WKSTA_INFO_STRUCT WkstaInfo,
[in,out,unique] LPDWORD ErrorParameter
);
NET_API_STATUS NET_API_FUNCTION
NetrRplWkstaClone(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR SourceWkstaName,
[in,string] LPTSTR TargetWkstaName,
[in,string,unique] LPTSTR TargetWkstaComment,
[in,string] LPTSTR TargetAdapterName,
[in] DWORD TargetWkstaIpAddress
);
NET_API_STATUS NET_API_FUNCTION
NetrRplWkstaDel(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR WkstaName
);
NET_API_STATUS NET_API_FUNCTION
NetrRplWkstaEnum(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string,unique] LPTSTR ProfileName,
[in,out] LPRPL_WKSTA_ENUM WkstaEnum,
[in] DWORD PrefMaxLength,
[out] LPDWORD TotalEntries,
[in,out,unique] LPDWORD ResumeHandle
);
NET_API_STATUS NET_API_FUNCTION
NetrRplWkstaGetInfo(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR WkstaName,
[in] DWORD Level,
[out, switch_is(Level)] LPRPL_WKSTA_INFO_STRUCT WkstaInfoStruct
);
NET_API_STATUS NET_API_FUNCTION
NetrRplWkstaSetInfo(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string] LPTSTR WkstaName,
[in] DWORD Level,
[in, switch_is(Level)] LPRPL_WKSTA_INFO_STRUCT WkstaInfoStruct,
[in,out,unique] LPDWORD ErrorParameter
);
//
// SECURITY api
//
NET_API_STATUS NET_API_FUNCTION
NetrRplSetSecurity(
[in] RPL_RPC_HANDLE ServerHandle,
[in,string,unique] LPTSTR WkstaName,
[in] DWORD WkstaRid,
[in] DWORD RplUserRid
);
}
|