4 rap interface definition
8 pointer_default(unique),
9 helper
("../librpc/ndr/ndr_rap.h")
13 const int RAP_WshareEnum
= 0;
14 const int RAP_WshareGetInfo
= 1;
15 const int RAP_WshareSetInfo
= 2;
16 const int RAP_WshareAdd
= 3;
17 const int RAP_WshareDel
= 4;
18 const int RAP_NetShareCheck
= 5;
19 const int RAP_WsessionEnum
= 6;
20 const int RAP_WsessionGetInfo
= 7;
21 const int RAP_WsessionDel
= 8;
22 const int RAP_WconnectionEnum
= 9;
23 const int RAP_WfileEnum
= 10;
24 const int RAP_WfileGetInfo
= 11;
25 const int RAP_WfileClose
= 12;
26 const int RAP_WserverGetInfo
= 13;
27 const int RAP_WserverSetInfo
= 14;
28 const int RAP_WserverDiskEnum
= 15;
29 const int RAP_WserverAdminCommand
= 16;
30 const int RAP_NetAuditOpen
= 17;
31 const int RAP_WauditClear
= 18;
32 const int RAP_NetErrorLogOpen
= 19;
33 const int RAP_WerrorLogClear
= 20;
34 const int RAP_NetCharDevEnum
= 21;
35 const int RAP_NetCharDevGetInfo
= 22;
36 const int RAP_WCharDevControl
= 23;
37 const int RAP_NetCharDevQEnum
= 24;
38 const int RAP_NetCharDevQGetInfo
= 25;
39 const int RAP_WCharDevQSetInfo
= 26;
40 const int RAP_WCharDevQPurge
= 27;
41 const int RAP_WCharDevQPurgeSelf
= 28;
42 const int RAP_WMessageNameEnum
= 29;
43 const int RAP_WMessageNameGetInfo
= 30;
44 const int RAP_WMessageNameAdd
= 31;
45 const int RAP_WMessageNameDel
= 32;
46 const int RAP_WMessageNameFwd
= 33;
47 const int RAP_WMessageNameUnFwd
= 34;
48 const int RAP_WMessageBufferSend
= 35;
49 const int RAP_WMessageFileSend
= 36;
50 const int RAP_WMessageLogFileSet
= 37;
51 const int RAP_WMessageLogFileGet
= 38;
52 const int RAP_WServiceEnum
= 39;
53 const int RAP_WServiceInstall
= 40;
54 const int RAP_WServiceControl
= 41;
55 const int RAP_WAccessEnum
= 42;
56 const int RAP_WAccessGetInfo
= 43;
57 const int RAP_WAccessSetInfo
= 44;
58 const int RAP_WAccessAdd
= 45;
59 const int RAP_WAccessDel
= 46;
60 const int RAP_WGroupEnum
= 47;
61 const int RAP_WGroupAdd
= 48;
62 const int RAP_WGroupDel
= 49;
63 const int RAP_WGroupAddUser
= 50;
64 const int RAP_WGroupDelUser
= 51;
65 const int RAP_WGroupGetUsers
= 52;
66 const int RAP_WUserEnum
= 53;
67 const int RAP_WUserAdd
= 54;
68 const int RAP_WUserDel
= 55;
69 const int RAP_WUserGetInfo
= 56;
70 const int RAP_WUserSetInfo
= 57;
71 const int RAP_WUserPasswordSet
= 58;
72 const int RAP_WUserGetGroups
= 59;
73 const int RAP_WWkstaSetUID
= 62;
74 const int RAP_WWkstaGetInfo
= 63;
75 const int RAP_WWkstaSetInfo
= 64;
76 const int RAP_WUseEnum
= 65;
77 const int RAP_WUseAdd
= 66;
78 const int RAP_WUseDel
= 67;
79 const int RAP_WUseGetInfo
= 68;
80 const int RAP_WPrintQEnum
= 69;
81 const int RAP_WPrintQGetInfo
= 70;
82 const int RAP_WPrintQSetInfo
= 71;
83 const int RAP_WPrintQAdd
= 72;
84 const int RAP_WPrintQDel
= 73;
85 const int RAP_WPrintQPause
= 74;
86 const int RAP_WPrintQContinue
= 75;
87 const int RAP_WPrintJobEnum
= 76;
88 const int RAP_WPrintJobGetInfo
= 77;
89 const int RAP_WPrintJobSetInfo_OLD
= 78;
90 const int RAP_WPrintJobDel
= 81;
91 const int RAP_WPrintJobPause
= 82;
92 const int RAP_WPrintJobContinue
= 83;
93 const int RAP_WPrintDestEnum
= 84;
94 const int RAP_WPrintDestGetInfo
= 85;
95 const int RAP_WPrintDestControl
= 86;
96 const int RAP_WProfileSave
= 87;
97 const int RAP_WProfileLoad
= 88;
98 const int RAP_WStatisticsGet
= 89;
99 const int RAP_WStatisticsClear
= 90;
100 const int RAP_NetRemoteTOD
= 91;
101 const int RAP_WNetBiosEnum
= 92;
102 const int RAP_WNetBiosGetInfo
= 93;
103 const int RAP_NetServerEnum
= 94;
104 const int RAP_I_NetServerEnum
= 95;
105 const int RAP_WServiceGetInfo
= 96;
106 const int RAP_WPrintQPurge
= 103;
107 const int RAP_NetServerEnum2
= 104;
108 const int RAP_WAccessGetUserPerms
= 105;
109 const int RAP_WGroupGetInfo
= 106;
110 const int RAP_WGroupSetInfo
= 107;
111 const int RAP_WGroupSetUsers
= 108;
112 const int RAP_WUserSetGroups
= 109;
113 const int RAP_WUserModalsGet
= 110;
114 const int RAP_WUserModalsSet
= 111;
115 const int RAP_WFileEnum2
= 112;
116 const int RAP_WUserAdd2
= 113;
117 const int RAP_WUserSetInfo2
= 114;
118 const int RAP_WUserPasswordSet2
= 115;
119 const int RAP_I_NetServerEnum2
= 116;
120 const int RAP_WConfigGet2
= 117;
121 const int RAP_WConfigGetAll2
= 118;
122 const int RAP_WGetDCName
= 119;
123 const int RAP_NetHandleGetInfo
= 120;
124 const int RAP_NetHandleSetInfo
= 121;
125 const int RAP_WStatisticsGet2
= 122;
126 const int RAP_WBuildGetInfo
= 123;
127 const int RAP_WFileGetInfo2
= 124;
128 const int RAP_WFileClose2
= 125;
129 const int RAP_WNetServerReqChallenge
= 126;
130 const int RAP_WNetServerAuthenticate
= 127;
131 const int RAP_WNetServerPasswordSet
= 128;
132 const int RAP_WNetAccountDeltas
= 129;
133 const int RAP_WNetAccountSync
= 130;
134 const int RAP_WUserEnum2
= 131;
135 const int RAP_WWkstaUserLogon
= 132;
136 const int RAP_WWkstaUserLogoff
= 133;
137 const int RAP_WLogonEnum
= 134;
138 const int RAP_WErrorLogRead
= 135;
139 const int RAP_NetPathType
= 136;
140 const int RAP_NetPathCanonicalize
= 137;
141 const int RAP_NetPathCompare
= 138;
142 const int RAP_NetNameValidate
= 139;
143 const int RAP_NetNameCanonicalize
= 140;
144 const int RAP_NetNameCompare
= 141;
145 const int RAP_WAuditRead
= 142;
146 const int RAP_WPrintDestAdd
= 143;
147 const int RAP_WPrintDestSetInfo
= 144;
148 const int RAP_WPrintDestDel
= 145;
149 const int RAP_WUserValidate2
= 146;
150 const int RAP_WPrintJobSetInfo
= 147;
151 const int RAP_TI_NetServerDiskEnum
= 148;
152 const int RAP_TI_NetServerDiskGetInfo
= 149;
153 const int RAP_TI_FTVerifyMirror
= 150;
154 const int RAP_TI_FTAbortVerify
= 151;
155 const int RAP_TI_FTGetInfo
= 152;
156 const int RAP_TI_FTSetInfo
= 153;
157 const int RAP_TI_FTLockDisk
= 154;
158 const int RAP_TI_FTFixError
= 155;
159 const int RAP_TI_FTAbortFix
= 156;
160 const int RAP_TI_FTDiagnoseError
= 157;
161 const int RAP_TI_FTGetDriveStats
= 158;
162 const int RAP_TI_FTErrorGetInfo
= 160;
163 const int RAP_NetAccessCheck
= 163;
164 const int RAP_NetAlertRaise
= 164;
165 const int RAP_NetAlertStart
= 165;
166 const int RAP_NetAlertStop
= 166;
167 const int RAP_NetAuditWrite
= 167;
168 const int RAP_NetIRemoteAPI
= 168;
169 const int RAP_NetServiceStatus
= 169;
170 const int RAP_NetServerRegister
= 170;
171 const int RAP_NetServerDeregister
= 171;
172 const int RAP_NetSessionEntryMake
= 172;
173 const int RAP_NetSessionEntryClear
= 173;
174 const int RAP_NetSessionEntryGetInfo
= 174;
175 const int RAP_NetSessionEntrySetInfo
= 175;
176 const int RAP_NetConnectionEntryMake
= 176;
177 const int RAP_NetConnectionEntryClear
= 177;
178 const int RAP_NetConnectionEntrySetInfo
= 178;
179 const int RAP_NetConnectionEntryGetInfo
= 179;
180 const int RAP_NetFileEntryMake
= 180;
181 const int RAP_NetFileEntryClear
= 181;
182 const int RAP_NetFileEntrySetInfo
= 182;
183 const int RAP_NetFileEntryGetInfo
= 183;
184 const int RAP_AltSrvMessageBufferSend
= 184;
185 const int RAP_AltSrvMessageFileSend
= 185;
186 const int RAP_wI_NetRplWkstaEnum
= 186;
187 const int RAP_wI_NetRplWkstaGetInfo
= 187;
188 const int RAP_wI_NetRplWkstaSetInfo
= 188;
189 const int RAP_wI_NetRplWkstaAdd
= 189;
190 const int RAP_wI_NetRplWkstaDel
= 190;
191 const int RAP_wI_NetRplProfileEnum
= 191;
192 const int RAP_wI_NetRplProfileGetInfo
= 192;
193 const int RAP_wI_NetRplProfileSetInfo
= 193;
194 const int RAP_wI_NetRplProfileAdd
= 194;
195 const int RAP_wI_NetRplProfileDel
= 195;
196 const int RAP_wI_NetRplProfileClone
= 196;
197 const int RAP_wI_NetRplBaseProfileEnum
= 197;
198 const int RAP_WIServerSetInfo
= 201;
199 const int RAP_WPrintDriverEnum
= 205;
200 const int RAP_WPrintQProcessorEnum
= 206;
201 const int RAP_WPrintPortEnum
= 207;
202 const int RAP_WNetWriteUpdateLog
= 208;
203 const int RAP_WNetAccountUpdate
= 209;
204 const int RAP_WNetAccountConfirmUpdate
= 210;
205 const int RAP_WConfigSet
= 211;
206 const int RAP_WAccountsReplicate
= 212;
207 const int RAP_SamOEMChgPasswordUser2_P
= 214;
208 const int RAP_NetServerEnum3
= 215;
209 const int RAP_WprintDriverGetInfo
= 250;
210 const int RAP_WprintDriverSetInfo
= 251;
211 const int RAP_WaliasAdd
= 252;
212 const int RAP_WaliasDel
= 253;
213 const int RAP_WaliasGetInfo
= 254;
214 const int RAP_WaliasSetInfo
= 255;
215 const int RAP_WaliasEnum
= 256;
216 const int RAP_WuserGetLogonAsn
= 257;
217 const int RAP_WuserSetLogonAsn
= 258;
218 const int RAP_WuserGetAppSel
= 259;
219 const int RAP_WuserSetAppSel
= 260;
220 const int RAP_WappAdd
= 261;
221 const int RAP_WappDel
= 262;
222 const int RAP_WappGetInfo
= 263;
223 const int RAP_WappSetInfo
= 264;
224 const int RAP_WappEnum
= 265;
225 const int RAP_WUserDCDBInit
= 266;
226 const int RAP_WDASDAdd
= 267;
227 const int RAP_WDASDDel
= 268;
228 const int RAP_WDASDGetInfo
= 269;
229 const int RAP_WDASDSetInfo
= 270;
230 const int RAP_WDASDEnum
= 271;
231 const int RAP_WDASDCheck
= 272;
232 const int RAP_WDASDCtl
= 273;
233 const int RAP_WuserRemoteLogonCheck
= 274;
234 const int RAP_WUserPasswordSet3
= 275;
235 const int RAP_WCreateRIPLMachine
= 276;
236 const int RAP_WDeleteRIPLMachine
= 277;
237 const int RAP_WGetRIPLMachineInfo
= 278;
238 const int RAP_WSetRIPLMachineInfo
= 279;
239 const int RAP_WEnumRIPLMachine
= 280;
240 const int RAP_I_ShareAdd
= 281;
241 const int RAP_AliasEnum
= 282;
242 const int RAP_WaccessApply
= 283;
243 const int RAP_WPrt16Query
= 284;
244 const int RAP_WPrt16Set
= 285;
245 const int RAP_WUserDel100
= 286;
246 const int RAP_WUserRemoteLogonCheck2
= 287;
247 const int RAP_WRemoteTODSet
= 294;
248 const int RAP_WprintJobMoveAll
= 295;
249 const int RAP_W16AppParmAdd
= 296;
250 const int RAP_W16AppParmDel
= 297;
251 const int RAP_W16AppParmGet
= 298;
252 const int RAP_W16AppParmSet
= 299;
253 const int RAP_W16RIPLMachineCreate
= 300;
254 const int RAP_W16RIPLMachineGetInfo
= 301;
255 const int RAP_W16RIPLMachineSetInfo
= 302;
256 const int RAP_W16RIPLMachineEnum
= 303;
257 const int RAP_W16RIPLMachineListParmEnum
= 304;
258 const int RAP_W16RIPLMachClassGetInfo
= 305;
259 const int RAP_W16RIPLMachClassEnum
= 306;
260 const int RAP_W16RIPLMachClassCreate
= 307;
261 const int RAP_W16RIPLMachClassSetInfo
= 308;
262 const int RAP_W16RIPLMachClassDelete
= 309;
263 const int RAP_W16RIPLMachClassLPEnum
= 310;
264 const int RAP_W16RIPLMachineDelete
= 311;
265 const int RAP_W16WSLevelGetInfo
= 312;
266 const int RAP_WserverNameAdd
= 313;
267 const int RAP_WserverNameDel
= 314;
268 const int RAP_WserverNameEnum
= 315;
269 const int RAP_I_WDASDEnum
= 316;
270 const int RAP_WDASDEnumTerminate
= 317;
271 const int RAP_WDASDSetInfo2
= 318;
272 const int MAX_API
= 318;
274 /* sizes of fixed-length fields, including null terminator */
275 const int RAP_GROUPNAME_LEN
= 21;
276 const int RAP_USERNAME_LEN
= 21;
277 const int RAP_SHARENAME_LEN
= 13;
278 const int RAP_UPASSWD_LEN
= 16; /* user password */
279 const int RAP_SPASSWD_LEN
= 9; /* share password */
280 const int RAP_MACHNAME_LEN
= 16;
281 const int RAP_SRVCNAME_LEN
= 16;
282 const int RAP_SRVCCMNT_LEN
= 64;
283 const int RAP_DATATYPE_LEN
= 10;
286 uint8 group_name
[21];
300 astring
*logon_script
;
304 uint8 service_name
[16];
309 } rap_service_info_2
;
312 uint8 share_name
[13];
316 uint8 share_name
[13];
323 uint8 share_name
[13];
328 uint16 maximum_users
;
335 typedef [nodiscriminant
] union {
336 [case(0)] rap_share_info_0 info0
;
337 [case(1)] rap_share_info_1 info1
;
338 [case(2)] rap_share_info_2 info2
;
341 [public] void rap_NetShareEnum
(
345 [out] uint16 convert
,
347 [out] uint16 available
,
348 [out,switch_is(level
)] rap_share_info
*info
363 typedef [nodiscriminant
] union {
364 [case(0)] rap_server_info_0 info0
;
365 [case(1)] rap_server_info_1 info1
;
368 [public] void rap_NetServerEnum2
(
371 [in] uint32 servertype
,
372 [in] astring
*domain
,
374 [out] uint16 convert
,
376 [out] uint16 available
,
377 [out,switch_is(level
)] rap_server_info info
[count
]
380 [public] void rap_WserverGetInfo
(
384 [out] uint16 convert
,
385 [out] uint16 available
,
386 [out,switch_is(level
)] rap_server_info info
389 typedef [public] enum {
390 PRJ_QS_QUEUED
= 0x0000,
391 PRJ_QS_PAUSED
= 0x0001,
392 PRJ_QS_SPOOLING
= 0x0002,
393 PRJ_QS_PRINTING
= 0x0003,
394 PRJ_QS_ERROR
= 0x0010
395 } rap_PrintJStatusCode
;
403 [charset
(DOS
)] uint8 UserName
[21];
405 [charset
(DOS
)] uint8 NotifyName
[16];
406 [charset
(DOS
)] uint8 DataType
[10];
407 [relative_short
] astring
*PrintParameterString
;
408 uint16 PrintParameterStringHigh
;
410 rap_PrintJStatusCode JobStatus
;
411 [relative_short
] astring
*JobStatusString
;
412 uint16 JobStatusStringHigh
;
413 time_t TimeSubmitted
;
415 [relative_short
] astring
*JobCommentString
;
416 uint16 JobCommentStringHigh
;
422 [relative_short
] astring
*UserName
;
425 rap_PrintJStatusCode JobStatus
;
426 time_t TimeSubmitted
;
428 [relative_short
] astring
*JobCommentString
;
429 uint16 JobCommentStringHigh
;
430 [relative_short
] astring
*DocumentName
;
431 uint16 DocumentNameHigh
;
437 [relative_short
] astring
*UserName
;
440 rap_PrintJStatusCode JobStatus
;
441 time_t TimeSubmitted
;
443 [relative_short
] astring
*JobCommentString
;
444 uint16 JobCommentStringHigh
;
445 [relative_short
] astring
*DocumentName
;
446 uint16 DocumentNameHigh
;
447 [relative_short
] astring
*NotifyName
;
448 uint16 NotifyNameHigh
;
449 [relative_short
] astring
*DataType
;
451 [relative_short
] astring
*PrintParameterString
;
452 uint16 PrintParameterStringHigh
;
453 [relative_short
] astring
*StatusString
;
454 uint16 StatusStringHigh
;
455 [relative_short
] astring
*QueueName
;
456 uint16 QueueNameHigh
;
457 [relative_short
] astring
*PrintProcessorName
;
458 uint16 PrintProcessorNameHigh
;
459 [relative_short
] astring
*PrintProcessorParams
;
460 uint16 PrintProcessorParamsHigh
;
461 [relative_short
] astring
*DriverName
;
462 uint16 DriverNameHigh
;
463 [relative_short
] astring
*DriverDataOffset
;
464 uint16 DriverDataOffsetHigh
;
465 [relative_short
] astring
*PrinterNameOffset
;
466 uint16 PrinterNameOffsetHigh
;
469 typedef [public] enum {
474 } rap_PrintQStatusCode
;
477 [charset
(DOS
)] uint8 PrintQName
[13];
481 [charset
(DOS
)] uint8 PrintQName
[13];
486 [relative_short
] astring
*SeparatorPageFilename
;
487 uint16 SeparatorPageFilenameHigh
;
488 [relative_short
] astring
*PrintProcessorDllName
;
489 uint16 PrintProcessorDllNameHigh
;
490 [relative_short
] astring
*PrintDestinationsName
;
491 uint16 PrintDestinationsNameHigh
;
492 [relative_short
] astring
*PrintParameterString
;
493 uint16 PrintParameterStringHigh
;
494 [relative_short
] astring
*CommentString
;
495 uint16 CommentStringHigh
;
496 rap_PrintQStatusCode PrintQStatus
;
497 uint16 PrintJobCount
;
501 rap_PrintQueue1 queue
;
502 rap_PrintJobInfo1 job
[queue.PrintJobCount
];
505 typedef [public] struct {
506 [relative_short
] astring
*PrintQueueName
;
507 uint16 PrintQueueNameHigh
;
512 [relative_short
] astring
*SeparatorPageFilename
;
513 uint16 SeparatorPageFilenameHigh
;
514 [relative_short
] astring
*PrintProcessorDllName
;
515 uint16 PrintProcessorDllNameHigh
;
516 [relative_short
] astring
*PrintParameterString
;
517 uint16 PrintParameterStringHigh
;
518 [relative_short
] astring
*CommentString
;
519 uint16 CommentStringHigh
;
520 rap_PrintQStatusCode PrintQStatus
;
521 uint16 PrintJobCount
;
522 [relative_short
] astring
*Printers
;
524 [relative_short
] astring
*DriverName
;
525 uint16 DriverNameHigh
;
526 [relative_short
] astring
*PrintDriverData
;
527 uint16 PrintDriverDataHigh
;
531 rap_PrintQueue3 queue
;
532 rap_PrintJobInfo2 job
[queue.PrintJobCount
];
536 [relative_short
] astring
*PrintQueueName
;
537 uint16 PrintQueueNameHigh
;
540 typedef [public,nodiscriminant
] union {
541 [case(0)] rap_PrintQueue0 info0
;
542 [case(1)] rap_PrintQueue1 info1
;
543 [case(2)] rap_PrintQueue2 info2
;
544 [case(3)] rap_PrintQueue3 info3
;
545 [case(4)] rap_PrintQueue4 info4
;
546 [case(5)] rap_PrintQueue5 info5
;
549 [public] void rap_NetPrintQEnum
(
553 [out] uint16 convert
,
555 [out] uint16 available
,
556 [out,switch_is(level
)] rap_printq_info info
[count
]
559 [public] void rap_NetPrintQGetInfo
(
560 [in] astring PrintQueueName
,
564 [out] uint16 convert
,
565 [out] uint16 available
,
566 [out,switch_is(level
)] rap_printq_info info
569 [public] void rap_NetPrintJobPause
(
575 [public] void rap_NetPrintJobContinue
(
581 [public] void rap_NetPrintJobDelete
(
587 /* not documented in MS-RAP */
588 [public] void rap_NetPrintQueuePause
(
589 [in] astring PrintQueueName
,
594 /* not documented in MS-RAP */
595 [public] void rap_NetPrintQueueResume
(
596 [in] astring PrintQueueName
,
601 /* not documented in MS-RAP */
602 [public] void rap_NetPrintQueuePurge
(
603 [in] astring PrintQueueName
,
608 /* Parameter description strings for RAP calls */
609 /* Names are defined name for RAP call with _REQ */
610 /* appended to end. */
612 const string RAP_WFileEnum2_REQ
= "zzWrLehb8g8";
613 const string RAP_WFileGetInfo2_REQ
= "DWrLh";
614 const string RAP_WFileClose2_REQ
= "D";
616 const string RAP_NetGroupEnum_REQ
= "WrLeh";
617 const string RAP_NetGroupAdd_REQ
= "WsT";
618 const string RAP_NetGroupDel_REQ
= "z";
619 const string RAP_NetGroupAddUser_REQ
= "zz";
620 const string RAP_NetGroupDelUser_REQ
= "zz";
621 const string RAP_NetGroupGetUsers_REQ
= "zWrLeh";
622 const string RAP_NetGroupSetUsers_REQ
= "zWsTW";
624 const string RAP_NetUserAdd2_REQ
= "WsTWW";
625 const string RAP_NetUserEnum_REQ
= "WrLeh";
626 const string RAP_NetUserEnum2_REQ
= "WrLDieh";
627 const string RAP_NetUserGetGroups_REQ
= "zWrLeh";
628 const string RAP_NetUserSetGroups_REQ
= "zWsTW";
629 const string RAP_NetUserPasswordSet_REQ
= "zb16b16w";
630 const string RAP_NetUserPasswordSet2_REQ
= "zb16b16WW";
631 const string RAP_SAMOEMChgPasswordUser2_REQ
= "B516B16";
632 const string RAP_NetUserValidate2_REQ
= "Wb62WWrLhWW";
634 const string RAP_NetServerEnum2_REQ
= "WrLehDz";
635 const string RAP_WserverGetInfo_REQ
= "WrLh";
636 const string RAP_NetWkstatGetInfo
= "WrLh";
638 const string RAP_WShareAdd_REQ
= "WsT";
639 const string RAP_WShareEnum_REQ
= "WrLeh";
640 const string RAP_WShareDel_REQ
= "zW";
641 const string RAP_WWkstaGetInfo_REQ
= "WrLh";
643 const string RAP_NetPrintQEnum_REQ
= "WrLeh";
644 const string RAP_NetPrintQGetInfo_REQ
= "zWrLh";
646 const string RAP_NetServerAdminCommand_REQ
= "zhrLeh";
647 const string RAP_NetServiceEnum_REQ
= "WrLeh";
648 const string RAP_NetServiceControl_REQ
= "zWWrL";
649 const string RAP_NetServiceInstall_REQ
= "zF88sg88T";
650 const string RAP_NetServiceGetInfo_REQ
= "zWrLh";
651 const string RAP_NetSessionEnum_REQ
= "WrLeh";
652 const string RAP_NetSessionGetInfo_REQ
= "zWrLh";
653 const string RAP_NetSessionDel_REQ
= "zW";
655 const string RAP_NetConnectionEnum_REQ
= "zWrLeh";
657 const string RAP_NetWkstaUserLogoff_REQ
= "zzWb38WrLh";
659 /* Description strings for returned data in RAP calls */
660 /* I use all caps here in part to avoid accidental */
661 /* name collisions */
663 const string RAP_FILE_INFO_L2
= "D";
664 const string RAP_FILE_INFO_L3
= "DWWzz";
665 const string RAP_GROUP_INFO_L0
= "B21";
666 const string RAP_GROUP_INFO_L1
= "B21Bz";
667 const string RAP_GROUP_USERS_INFO_0
= "B21";
668 const string RAP_GROUP_USERS_INFO_1
= "B21BN";
670 const string RAP_USER_INFO_L0
= "B21";
671 const string RAP_USER_INFO_L1
= "B21BB16DWzzWz";
673 const string RAP_SERVER_INFO_L0
= "B16";
674 const string RAP_SERVER_INFO_L1
= "B16BBDz";
675 const string RAP_SERVER_INFO_L2
= "B16BBDzDDDWWzWWWWWWWB21BzWWWWWWWWWWWWWWWWWWWWWWz";
676 const string RAP_SERVER_INFO_L3
= "B16BBDzDDDWWzWWWWWWWB21BzWWWWWWWWWWWWWWWWWWWWWWzDWz";
677 const string RAP_SERVICE_INFO_L0
= "B16";
678 const string RAP_SERVICE_INFO_L2
= "B16WDWB64";
679 const string RAP_SHARE_INFO_L0
= "B13";
680 const string RAP_SHARE_INFO_L1
= "B13BWz";
681 const string RAP_SHARE_INFO_L2
= "B13BWzWWWzB9B";
683 const string RAP_PRINTQ_INFO_L2
= "B13BWWWzzzzzWN";
684 const string RAP_SMB_PRINT_JOB_L1
= "WB21BB16B10zWWzDDz";
686 const string RAP_SESSION_INFO_L2
= "zzWWWDDDz";
687 const string RAP_CONNECTION_INFO_L1
= "WWWWDzz";
689 const string RAP_USER_LOGOFF_INFO_L1
= "WDW";
691 const string RAP_WKSTA_INFO_L1
= "WDzzzzBBDWDWWWWWWWWWWWWWWWWWWWzzWzzW";
692 const string RAP_WKSTA_INFO_L10
= "zzzBBzz";