2 * Unix SMB/CIFS implementation.
3 * client auto-generated by pidl. DO NOT MODIFY!
7 #include "librpc/gen_ndr/cli_ntsvcs.h"
9 NTSTATUS
rpccli_PNP_Disconnect(struct rpc_pipe_client
*cli
,
12 struct PNP_Disconnect r
;
17 if (DEBUGLEVEL
>= 10) {
18 NDR_PRINT_IN_DEBUG(PNP_Disconnect
, &r
);
21 status
= cli_do_rpc_ndr(cli
,
28 if (!NT_STATUS_IS_OK(status
)) {
32 if (DEBUGLEVEL
>= 10) {
33 NDR_PRINT_OUT_DEBUG(PNP_Disconnect
, &r
);
36 if (NT_STATUS_IS_ERR(status
)) {
40 /* Return variables */
46 NTSTATUS
rpccli_PNP_Connect(struct rpc_pipe_client
*cli
,
54 if (DEBUGLEVEL
>= 10) {
55 NDR_PRINT_IN_DEBUG(PNP_Connect
, &r
);
58 status
= cli_do_rpc_ndr(cli
,
65 if (!NT_STATUS_IS_OK(status
)) {
69 if (DEBUGLEVEL
>= 10) {
70 NDR_PRINT_OUT_DEBUG(PNP_Connect
, &r
);
73 if (NT_STATUS_IS_ERR(status
)) {
77 /* Return variables */
83 NTSTATUS
rpccli_PNP_GetVersion(struct rpc_pipe_client
*cli
,
86 struct PNP_GetVersion r
;
91 if (DEBUGLEVEL
>= 10) {
92 NDR_PRINT_IN_DEBUG(PNP_GetVersion
, &r
);
95 status
= cli_do_rpc_ndr(cli
,
102 if (!NT_STATUS_IS_OK(status
)) {
106 if (DEBUGLEVEL
>= 10) {
107 NDR_PRINT_OUT_DEBUG(PNP_GetVersion
, &r
);
110 if (NT_STATUS_IS_ERR(status
)) {
114 /* Return variables */
120 NTSTATUS
rpccli_PNP_GetGlobalState(struct rpc_pipe_client
*cli
,
123 struct PNP_GetGlobalState r
;
128 if (DEBUGLEVEL
>= 10) {
129 NDR_PRINT_IN_DEBUG(PNP_GetGlobalState
, &r
);
132 status
= cli_do_rpc_ndr(cli
,
136 NDR_PNP_GETGLOBALSTATE
,
139 if (!NT_STATUS_IS_OK(status
)) {
143 if (DEBUGLEVEL
>= 10) {
144 NDR_PRINT_OUT_DEBUG(PNP_GetGlobalState
, &r
);
147 if (NT_STATUS_IS_ERR(status
)) {
151 /* Return variables */
157 NTSTATUS
rpccli_PNP_InitDetection(struct rpc_pipe_client
*cli
,
160 struct PNP_InitDetection r
;
165 if (DEBUGLEVEL
>= 10) {
166 NDR_PRINT_IN_DEBUG(PNP_InitDetection
, &r
);
169 status
= cli_do_rpc_ndr(cli
,
173 NDR_PNP_INITDETECTION
,
176 if (!NT_STATUS_IS_OK(status
)) {
180 if (DEBUGLEVEL
>= 10) {
181 NDR_PRINT_OUT_DEBUG(PNP_InitDetection
, &r
);
184 if (NT_STATUS_IS_ERR(status
)) {
188 /* Return variables */
194 NTSTATUS
rpccli_PNP_ReportLogOn(struct rpc_pipe_client
*cli
,
197 struct PNP_ReportLogOn r
;
202 if (DEBUGLEVEL
>= 10) {
203 NDR_PRINT_IN_DEBUG(PNP_ReportLogOn
, &r
);
206 status
= cli_do_rpc_ndr(cli
,
213 if (!NT_STATUS_IS_OK(status
)) {
217 if (DEBUGLEVEL
>= 10) {
218 NDR_PRINT_OUT_DEBUG(PNP_ReportLogOn
, &r
);
221 if (NT_STATUS_IS_ERR(status
)) {
225 /* Return variables */
231 NTSTATUS
rpccli_PNP_ValidateDeviceInstance(struct rpc_pipe_client
*cli
,
234 struct PNP_ValidateDeviceInstance r
;
239 if (DEBUGLEVEL
>= 10) {
240 NDR_PRINT_IN_DEBUG(PNP_ValidateDeviceInstance
, &r
);
243 status
= cli_do_rpc_ndr(cli
,
247 NDR_PNP_VALIDATEDEVICEINSTANCE
,
250 if (!NT_STATUS_IS_OK(status
)) {
254 if (DEBUGLEVEL
>= 10) {
255 NDR_PRINT_OUT_DEBUG(PNP_ValidateDeviceInstance
, &r
);
258 if (NT_STATUS_IS_ERR(status
)) {
262 /* Return variables */
268 NTSTATUS
rpccli_PNP_GetRootDeviceInstance(struct rpc_pipe_client
*cli
,
271 struct PNP_GetRootDeviceInstance r
;
276 if (DEBUGLEVEL
>= 10) {
277 NDR_PRINT_IN_DEBUG(PNP_GetRootDeviceInstance
, &r
);
280 status
= cli_do_rpc_ndr(cli
,
284 NDR_PNP_GETROOTDEVICEINSTANCE
,
287 if (!NT_STATUS_IS_OK(status
)) {
291 if (DEBUGLEVEL
>= 10) {
292 NDR_PRINT_OUT_DEBUG(PNP_GetRootDeviceInstance
, &r
);
295 if (NT_STATUS_IS_ERR(status
)) {
299 /* Return variables */
305 NTSTATUS
rpccli_PNP_GetRelatedDeviceInstance(struct rpc_pipe_client
*cli
,
308 struct PNP_GetRelatedDeviceInstance r
;
313 if (DEBUGLEVEL
>= 10) {
314 NDR_PRINT_IN_DEBUG(PNP_GetRelatedDeviceInstance
, &r
);
317 status
= cli_do_rpc_ndr(cli
,
321 NDR_PNP_GETRELATEDDEVICEINSTANCE
,
324 if (!NT_STATUS_IS_OK(status
)) {
328 if (DEBUGLEVEL
>= 10) {
329 NDR_PRINT_OUT_DEBUG(PNP_GetRelatedDeviceInstance
, &r
);
332 if (NT_STATUS_IS_ERR(status
)) {
336 /* Return variables */
342 NTSTATUS
rpccli_PNP_EnumerateSubKeys(struct rpc_pipe_client
*cli
,
345 struct PNP_EnumerateSubKeys r
;
350 if (DEBUGLEVEL
>= 10) {
351 NDR_PRINT_IN_DEBUG(PNP_EnumerateSubKeys
, &r
);
354 status
= cli_do_rpc_ndr(cli
,
358 NDR_PNP_ENUMERATESUBKEYS
,
361 if (!NT_STATUS_IS_OK(status
)) {
365 if (DEBUGLEVEL
>= 10) {
366 NDR_PRINT_OUT_DEBUG(PNP_EnumerateSubKeys
, &r
);
369 if (NT_STATUS_IS_ERR(status
)) {
373 /* Return variables */
379 NTSTATUS
rpccli_PNP_GetDeviceList(struct rpc_pipe_client
*cli
,
382 struct PNP_GetDeviceList r
;
387 if (DEBUGLEVEL
>= 10) {
388 NDR_PRINT_IN_DEBUG(PNP_GetDeviceList
, &r
);
391 status
= cli_do_rpc_ndr(cli
,
395 NDR_PNP_GETDEVICELIST
,
398 if (!NT_STATUS_IS_OK(status
)) {
402 if (DEBUGLEVEL
>= 10) {
403 NDR_PRINT_OUT_DEBUG(PNP_GetDeviceList
, &r
);
406 if (NT_STATUS_IS_ERR(status
)) {
410 /* Return variables */
416 NTSTATUS
rpccli_PNP_GetDeviceListSize(struct rpc_pipe_client
*cli
,
419 struct PNP_GetDeviceListSize r
;
424 if (DEBUGLEVEL
>= 10) {
425 NDR_PRINT_IN_DEBUG(PNP_GetDeviceListSize
, &r
);
428 status
= cli_do_rpc_ndr(cli
,
432 NDR_PNP_GETDEVICELISTSIZE
,
435 if (!NT_STATUS_IS_OK(status
)) {
439 if (DEBUGLEVEL
>= 10) {
440 NDR_PRINT_OUT_DEBUG(PNP_GetDeviceListSize
, &r
);
443 if (NT_STATUS_IS_ERR(status
)) {
447 /* Return variables */
453 NTSTATUS
rpccli_PNP_GetDepth(struct rpc_pipe_client
*cli
,
456 struct PNP_GetDepth r
;
461 if (DEBUGLEVEL
>= 10) {
462 NDR_PRINT_IN_DEBUG(PNP_GetDepth
, &r
);
465 status
= cli_do_rpc_ndr(cli
,
472 if (!NT_STATUS_IS_OK(status
)) {
476 if (DEBUGLEVEL
>= 10) {
477 NDR_PRINT_OUT_DEBUG(PNP_GetDepth
, &r
);
480 if (NT_STATUS_IS_ERR(status
)) {
484 /* Return variables */
490 NTSTATUS
rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client
*cli
,
493 struct PNP_GetDeviceRegProp r
;
498 if (DEBUGLEVEL
>= 10) {
499 NDR_PRINT_IN_DEBUG(PNP_GetDeviceRegProp
, &r
);
502 status
= cli_do_rpc_ndr(cli
,
506 NDR_PNP_GETDEVICEREGPROP
,
509 if (!NT_STATUS_IS_OK(status
)) {
513 if (DEBUGLEVEL
>= 10) {
514 NDR_PRINT_OUT_DEBUG(PNP_GetDeviceRegProp
, &r
);
517 if (NT_STATUS_IS_ERR(status
)) {
521 /* Return variables */
527 NTSTATUS
rpccli_PNP_SetDeviceRegProp(struct rpc_pipe_client
*cli
,
530 struct PNP_SetDeviceRegProp r
;
535 if (DEBUGLEVEL
>= 10) {
536 NDR_PRINT_IN_DEBUG(PNP_SetDeviceRegProp
, &r
);
539 status
= cli_do_rpc_ndr(cli
,
543 NDR_PNP_SETDEVICEREGPROP
,
546 if (!NT_STATUS_IS_OK(status
)) {
550 if (DEBUGLEVEL
>= 10) {
551 NDR_PRINT_OUT_DEBUG(PNP_SetDeviceRegProp
, &r
);
554 if (NT_STATUS_IS_ERR(status
)) {
558 /* Return variables */
564 NTSTATUS
rpccli_PNP_GetClassInstance(struct rpc_pipe_client
*cli
,
567 struct PNP_GetClassInstance r
;
572 if (DEBUGLEVEL
>= 10) {
573 NDR_PRINT_IN_DEBUG(PNP_GetClassInstance
, &r
);
576 status
= cli_do_rpc_ndr(cli
,
580 NDR_PNP_GETCLASSINSTANCE
,
583 if (!NT_STATUS_IS_OK(status
)) {
587 if (DEBUGLEVEL
>= 10) {
588 NDR_PRINT_OUT_DEBUG(PNP_GetClassInstance
, &r
);
591 if (NT_STATUS_IS_ERR(status
)) {
595 /* Return variables */
601 NTSTATUS
rpccli_PNP_CreateKey(struct rpc_pipe_client
*cli
,
604 struct PNP_CreateKey r
;
609 if (DEBUGLEVEL
>= 10) {
610 NDR_PRINT_IN_DEBUG(PNP_CreateKey
, &r
);
613 status
= cli_do_rpc_ndr(cli
,
620 if (!NT_STATUS_IS_OK(status
)) {
624 if (DEBUGLEVEL
>= 10) {
625 NDR_PRINT_OUT_DEBUG(PNP_CreateKey
, &r
);
628 if (NT_STATUS_IS_ERR(status
)) {
632 /* Return variables */
638 NTSTATUS
rpccli_PNP_DeleteRegistryKey(struct rpc_pipe_client
*cli
,
641 struct PNP_DeleteRegistryKey r
;
646 if (DEBUGLEVEL
>= 10) {
647 NDR_PRINT_IN_DEBUG(PNP_DeleteRegistryKey
, &r
);
650 status
= cli_do_rpc_ndr(cli
,
654 NDR_PNP_DELETEREGISTRYKEY
,
657 if (!NT_STATUS_IS_OK(status
)) {
661 if (DEBUGLEVEL
>= 10) {
662 NDR_PRINT_OUT_DEBUG(PNP_DeleteRegistryKey
, &r
);
665 if (NT_STATUS_IS_ERR(status
)) {
669 /* Return variables */
675 NTSTATUS
rpccli_PNP_GetClassCount(struct rpc_pipe_client
*cli
,
678 struct PNP_GetClassCount r
;
683 if (DEBUGLEVEL
>= 10) {
684 NDR_PRINT_IN_DEBUG(PNP_GetClassCount
, &r
);
687 status
= cli_do_rpc_ndr(cli
,
691 NDR_PNP_GETCLASSCOUNT
,
694 if (!NT_STATUS_IS_OK(status
)) {
698 if (DEBUGLEVEL
>= 10) {
699 NDR_PRINT_OUT_DEBUG(PNP_GetClassCount
, &r
);
702 if (NT_STATUS_IS_ERR(status
)) {
706 /* Return variables */
712 NTSTATUS
rpccli_PNP_GetClassName(struct rpc_pipe_client
*cli
,
715 struct PNP_GetClassName r
;
720 if (DEBUGLEVEL
>= 10) {
721 NDR_PRINT_IN_DEBUG(PNP_GetClassName
, &r
);
724 status
= cli_do_rpc_ndr(cli
,
728 NDR_PNP_GETCLASSNAME
,
731 if (!NT_STATUS_IS_OK(status
)) {
735 if (DEBUGLEVEL
>= 10) {
736 NDR_PRINT_OUT_DEBUG(PNP_GetClassName
, &r
);
739 if (NT_STATUS_IS_ERR(status
)) {
743 /* Return variables */
749 NTSTATUS
rpccli_PNP_DeleteClassKey(struct rpc_pipe_client
*cli
,
752 struct PNP_DeleteClassKey r
;
757 if (DEBUGLEVEL
>= 10) {
758 NDR_PRINT_IN_DEBUG(PNP_DeleteClassKey
, &r
);
761 status
= cli_do_rpc_ndr(cli
,
765 NDR_PNP_DELETECLASSKEY
,
768 if (!NT_STATUS_IS_OK(status
)) {
772 if (DEBUGLEVEL
>= 10) {
773 NDR_PRINT_OUT_DEBUG(PNP_DeleteClassKey
, &r
);
776 if (NT_STATUS_IS_ERR(status
)) {
780 /* Return variables */
786 NTSTATUS
rpccli_PNP_GetInterfaceDeviceAlias(struct rpc_pipe_client
*cli
,
789 struct PNP_GetInterfaceDeviceAlias r
;
794 if (DEBUGLEVEL
>= 10) {
795 NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceAlias
, &r
);
798 status
= cli_do_rpc_ndr(cli
,
802 NDR_PNP_GETINTERFACEDEVICEALIAS
,
805 if (!NT_STATUS_IS_OK(status
)) {
809 if (DEBUGLEVEL
>= 10) {
810 NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceAlias
, &r
);
813 if (NT_STATUS_IS_ERR(status
)) {
817 /* Return variables */
823 NTSTATUS
rpccli_PNP_GetInterfaceDeviceList(struct rpc_pipe_client
*cli
,
826 struct PNP_GetInterfaceDeviceList r
;
831 if (DEBUGLEVEL
>= 10) {
832 NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceList
, &r
);
835 status
= cli_do_rpc_ndr(cli
,
839 NDR_PNP_GETINTERFACEDEVICELIST
,
842 if (!NT_STATUS_IS_OK(status
)) {
846 if (DEBUGLEVEL
>= 10) {
847 NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceList
, &r
);
850 if (NT_STATUS_IS_ERR(status
)) {
854 /* Return variables */
860 NTSTATUS
rpccli_PNP_GetInterfaceDeviceListSize(struct rpc_pipe_client
*cli
,
863 struct PNP_GetInterfaceDeviceListSize r
;
868 if (DEBUGLEVEL
>= 10) {
869 NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceListSize
, &r
);
872 status
= cli_do_rpc_ndr(cli
,
876 NDR_PNP_GETINTERFACEDEVICELISTSIZE
,
879 if (!NT_STATUS_IS_OK(status
)) {
883 if (DEBUGLEVEL
>= 10) {
884 NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceListSize
, &r
);
887 if (NT_STATUS_IS_ERR(status
)) {
891 /* Return variables */
897 NTSTATUS
rpccli_PNP_RegisterDeviceClassAssociation(struct rpc_pipe_client
*cli
,
900 struct PNP_RegisterDeviceClassAssociation r
;
905 if (DEBUGLEVEL
>= 10) {
906 NDR_PRINT_IN_DEBUG(PNP_RegisterDeviceClassAssociation
, &r
);
909 status
= cli_do_rpc_ndr(cli
,
913 NDR_PNP_REGISTERDEVICECLASSASSOCIATION
,
916 if (!NT_STATUS_IS_OK(status
)) {
920 if (DEBUGLEVEL
>= 10) {
921 NDR_PRINT_OUT_DEBUG(PNP_RegisterDeviceClassAssociation
, &r
);
924 if (NT_STATUS_IS_ERR(status
)) {
928 /* Return variables */
934 NTSTATUS
rpccli_PNP_UnregisterDeviceClassAssociation(struct rpc_pipe_client
*cli
,
937 struct PNP_UnregisterDeviceClassAssociation r
;
942 if (DEBUGLEVEL
>= 10) {
943 NDR_PRINT_IN_DEBUG(PNP_UnregisterDeviceClassAssociation
, &r
);
946 status
= cli_do_rpc_ndr(cli
,
950 NDR_PNP_UNREGISTERDEVICECLASSASSOCIATION
,
953 if (!NT_STATUS_IS_OK(status
)) {
957 if (DEBUGLEVEL
>= 10) {
958 NDR_PRINT_OUT_DEBUG(PNP_UnregisterDeviceClassAssociation
, &r
);
961 if (NT_STATUS_IS_ERR(status
)) {
965 /* Return variables */
971 NTSTATUS
rpccli_PNP_GetClassRegProp(struct rpc_pipe_client
*cli
,
974 struct PNP_GetClassRegProp r
;
979 if (DEBUGLEVEL
>= 10) {
980 NDR_PRINT_IN_DEBUG(PNP_GetClassRegProp
, &r
);
983 status
= cli_do_rpc_ndr(cli
,
987 NDR_PNP_GETCLASSREGPROP
,
990 if (!NT_STATUS_IS_OK(status
)) {
994 if (DEBUGLEVEL
>= 10) {
995 NDR_PRINT_OUT_DEBUG(PNP_GetClassRegProp
, &r
);
998 if (NT_STATUS_IS_ERR(status
)) {
1002 /* Return variables */
1005 return NT_STATUS_OK
;
1008 NTSTATUS
rpccli_PNP_SetClassRegProp(struct rpc_pipe_client
*cli
,
1009 TALLOC_CTX
*mem_ctx
)
1011 struct PNP_SetClassRegProp r
;
1016 if (DEBUGLEVEL
>= 10) {
1017 NDR_PRINT_IN_DEBUG(PNP_SetClassRegProp
, &r
);
1020 status
= cli_do_rpc_ndr(cli
,
1024 NDR_PNP_SETCLASSREGPROP
,
1027 if (!NT_STATUS_IS_OK(status
)) {
1031 if (DEBUGLEVEL
>= 10) {
1032 NDR_PRINT_OUT_DEBUG(PNP_SetClassRegProp
, &r
);
1035 if (NT_STATUS_IS_ERR(status
)) {
1039 /* Return variables */
1042 return NT_STATUS_OK
;
1045 NTSTATUS
rpccli_PNP_CreateDevInst(struct rpc_pipe_client
*cli
,
1046 TALLOC_CTX
*mem_ctx
)
1048 struct PNP_CreateDevInst r
;
1053 if (DEBUGLEVEL
>= 10) {
1054 NDR_PRINT_IN_DEBUG(PNP_CreateDevInst
, &r
);
1057 status
= cli_do_rpc_ndr(cli
,
1061 NDR_PNP_CREATEDEVINST
,
1064 if (!NT_STATUS_IS_OK(status
)) {
1068 if (DEBUGLEVEL
>= 10) {
1069 NDR_PRINT_OUT_DEBUG(PNP_CreateDevInst
, &r
);
1072 if (NT_STATUS_IS_ERR(status
)) {
1076 /* Return variables */
1079 return NT_STATUS_OK
;
1082 NTSTATUS
rpccli_PNP_DeviceInstanceAction(struct rpc_pipe_client
*cli
,
1083 TALLOC_CTX
*mem_ctx
)
1085 struct PNP_DeviceInstanceAction r
;
1090 if (DEBUGLEVEL
>= 10) {
1091 NDR_PRINT_IN_DEBUG(PNP_DeviceInstanceAction
, &r
);
1094 status
= cli_do_rpc_ndr(cli
,
1098 NDR_PNP_DEVICEINSTANCEACTION
,
1101 if (!NT_STATUS_IS_OK(status
)) {
1105 if (DEBUGLEVEL
>= 10) {
1106 NDR_PRINT_OUT_DEBUG(PNP_DeviceInstanceAction
, &r
);
1109 if (NT_STATUS_IS_ERR(status
)) {
1113 /* Return variables */
1116 return NT_STATUS_OK
;
1119 NTSTATUS
rpccli_PNP_GetDeviceStatus(struct rpc_pipe_client
*cli
,
1120 TALLOC_CTX
*mem_ctx
)
1122 struct PNP_GetDeviceStatus r
;
1127 if (DEBUGLEVEL
>= 10) {
1128 NDR_PRINT_IN_DEBUG(PNP_GetDeviceStatus
, &r
);
1131 status
= cli_do_rpc_ndr(cli
,
1135 NDR_PNP_GETDEVICESTATUS
,
1138 if (!NT_STATUS_IS_OK(status
)) {
1142 if (DEBUGLEVEL
>= 10) {
1143 NDR_PRINT_OUT_DEBUG(PNP_GetDeviceStatus
, &r
);
1146 if (NT_STATUS_IS_ERR(status
)) {
1150 /* Return variables */
1153 return NT_STATUS_OK
;
1156 NTSTATUS
rpccli_PNP_SetDeviceProblem(struct rpc_pipe_client
*cli
,
1157 TALLOC_CTX
*mem_ctx
)
1159 struct PNP_SetDeviceProblem r
;
1164 if (DEBUGLEVEL
>= 10) {
1165 NDR_PRINT_IN_DEBUG(PNP_SetDeviceProblem
, &r
);
1168 status
= cli_do_rpc_ndr(cli
,
1172 NDR_PNP_SETDEVICEPROBLEM
,
1175 if (!NT_STATUS_IS_OK(status
)) {
1179 if (DEBUGLEVEL
>= 10) {
1180 NDR_PRINT_OUT_DEBUG(PNP_SetDeviceProblem
, &r
);
1183 if (NT_STATUS_IS_ERR(status
)) {
1187 /* Return variables */
1190 return NT_STATUS_OK
;
1193 NTSTATUS
rpccli_PNP_DisableDevInst(struct rpc_pipe_client
*cli
,
1194 TALLOC_CTX
*mem_ctx
)
1196 struct PNP_DisableDevInst r
;
1201 if (DEBUGLEVEL
>= 10) {
1202 NDR_PRINT_IN_DEBUG(PNP_DisableDevInst
, &r
);
1205 status
= cli_do_rpc_ndr(cli
,
1209 NDR_PNP_DISABLEDEVINST
,
1212 if (!NT_STATUS_IS_OK(status
)) {
1216 if (DEBUGLEVEL
>= 10) {
1217 NDR_PRINT_OUT_DEBUG(PNP_DisableDevInst
, &r
);
1220 if (NT_STATUS_IS_ERR(status
)) {
1224 /* Return variables */
1227 return NT_STATUS_OK
;
1230 NTSTATUS
rpccli_PNP_UninstallDevInst(struct rpc_pipe_client
*cli
,
1231 TALLOC_CTX
*mem_ctx
)
1233 struct PNP_UninstallDevInst r
;
1238 if (DEBUGLEVEL
>= 10) {
1239 NDR_PRINT_IN_DEBUG(PNP_UninstallDevInst
, &r
);
1242 status
= cli_do_rpc_ndr(cli
,
1246 NDR_PNP_UNINSTALLDEVINST
,
1249 if (!NT_STATUS_IS_OK(status
)) {
1253 if (DEBUGLEVEL
>= 10) {
1254 NDR_PRINT_OUT_DEBUG(PNP_UninstallDevInst
, &r
);
1257 if (NT_STATUS_IS_ERR(status
)) {
1261 /* Return variables */
1264 return NT_STATUS_OK
;
1267 NTSTATUS
rpccli_PNP_AddID(struct rpc_pipe_client
*cli
,
1268 TALLOC_CTX
*mem_ctx
)
1275 if (DEBUGLEVEL
>= 10) {
1276 NDR_PRINT_IN_DEBUG(PNP_AddID
, &r
);
1279 status
= cli_do_rpc_ndr(cli
,
1286 if (!NT_STATUS_IS_OK(status
)) {
1290 if (DEBUGLEVEL
>= 10) {
1291 NDR_PRINT_OUT_DEBUG(PNP_AddID
, &r
);
1294 if (NT_STATUS_IS_ERR(status
)) {
1298 /* Return variables */
1301 return NT_STATUS_OK
;
1304 NTSTATUS
rpccli_PNP_RegisterDriver(struct rpc_pipe_client
*cli
,
1305 TALLOC_CTX
*mem_ctx
)
1307 struct PNP_RegisterDriver r
;
1312 if (DEBUGLEVEL
>= 10) {
1313 NDR_PRINT_IN_DEBUG(PNP_RegisterDriver
, &r
);
1316 status
= cli_do_rpc_ndr(cli
,
1320 NDR_PNP_REGISTERDRIVER
,
1323 if (!NT_STATUS_IS_OK(status
)) {
1327 if (DEBUGLEVEL
>= 10) {
1328 NDR_PRINT_OUT_DEBUG(PNP_RegisterDriver
, &r
);
1331 if (NT_STATUS_IS_ERR(status
)) {
1335 /* Return variables */
1338 return NT_STATUS_OK
;
1341 NTSTATUS
rpccli_PNP_QueryRemove(struct rpc_pipe_client
*cli
,
1342 TALLOC_CTX
*mem_ctx
)
1344 struct PNP_QueryRemove r
;
1349 if (DEBUGLEVEL
>= 10) {
1350 NDR_PRINT_IN_DEBUG(PNP_QueryRemove
, &r
);
1353 status
= cli_do_rpc_ndr(cli
,
1357 NDR_PNP_QUERYREMOVE
,
1360 if (!NT_STATUS_IS_OK(status
)) {
1364 if (DEBUGLEVEL
>= 10) {
1365 NDR_PRINT_OUT_DEBUG(PNP_QueryRemove
, &r
);
1368 if (NT_STATUS_IS_ERR(status
)) {
1372 /* Return variables */
1375 return NT_STATUS_OK
;
1378 NTSTATUS
rpccli_PNP_RequestDeviceEject(struct rpc_pipe_client
*cli
,
1379 TALLOC_CTX
*mem_ctx
)
1381 struct PNP_RequestDeviceEject r
;
1386 if (DEBUGLEVEL
>= 10) {
1387 NDR_PRINT_IN_DEBUG(PNP_RequestDeviceEject
, &r
);
1390 status
= cli_do_rpc_ndr(cli
,
1394 NDR_PNP_REQUESTDEVICEEJECT
,
1397 if (!NT_STATUS_IS_OK(status
)) {
1401 if (DEBUGLEVEL
>= 10) {
1402 NDR_PRINT_OUT_DEBUG(PNP_RequestDeviceEject
, &r
);
1405 if (NT_STATUS_IS_ERR(status
)) {
1409 /* Return variables */
1412 return NT_STATUS_OK
;
1415 NTSTATUS
rpccli_PNP_IsDockStationPresent(struct rpc_pipe_client
*cli
,
1416 TALLOC_CTX
*mem_ctx
)
1418 struct PNP_IsDockStationPresent r
;
1423 if (DEBUGLEVEL
>= 10) {
1424 NDR_PRINT_IN_DEBUG(PNP_IsDockStationPresent
, &r
);
1427 status
= cli_do_rpc_ndr(cli
,
1431 NDR_PNP_ISDOCKSTATIONPRESENT
,
1434 if (!NT_STATUS_IS_OK(status
)) {
1438 if (DEBUGLEVEL
>= 10) {
1439 NDR_PRINT_OUT_DEBUG(PNP_IsDockStationPresent
, &r
);
1442 if (NT_STATUS_IS_ERR(status
)) {
1446 /* Return variables */
1449 return NT_STATUS_OK
;
1452 NTSTATUS
rpccli_PNP_RequestEjectPC(struct rpc_pipe_client
*cli
,
1453 TALLOC_CTX
*mem_ctx
)
1455 struct PNP_RequestEjectPC r
;
1460 if (DEBUGLEVEL
>= 10) {
1461 NDR_PRINT_IN_DEBUG(PNP_RequestEjectPC
, &r
);
1464 status
= cli_do_rpc_ndr(cli
,
1468 NDR_PNP_REQUESTEJECTPC
,
1471 if (!NT_STATUS_IS_OK(status
)) {
1475 if (DEBUGLEVEL
>= 10) {
1476 NDR_PRINT_OUT_DEBUG(PNP_RequestEjectPC
, &r
);
1479 if (NT_STATUS_IS_ERR(status
)) {
1483 /* Return variables */
1486 return NT_STATUS_OK
;
1489 NTSTATUS
rpccli_PNP_HwProfFlags(struct rpc_pipe_client
*cli
,
1490 TALLOC_CTX
*mem_ctx
)
1492 struct PNP_HwProfFlags r
;
1497 if (DEBUGLEVEL
>= 10) {
1498 NDR_PRINT_IN_DEBUG(PNP_HwProfFlags
, &r
);
1501 status
= cli_do_rpc_ndr(cli
,
1505 NDR_PNP_HWPROFFLAGS
,
1508 if (!NT_STATUS_IS_OK(status
)) {
1512 if (DEBUGLEVEL
>= 10) {
1513 NDR_PRINT_OUT_DEBUG(PNP_HwProfFlags
, &r
);
1516 if (NT_STATUS_IS_ERR(status
)) {
1520 /* Return variables */
1523 return NT_STATUS_OK
;
1526 NTSTATUS
rpccli_PNP_GetHwProfInfo(struct rpc_pipe_client
*cli
,
1527 TALLOC_CTX
*mem_ctx
)
1529 struct PNP_GetHwProfInfo r
;
1534 if (DEBUGLEVEL
>= 10) {
1535 NDR_PRINT_IN_DEBUG(PNP_GetHwProfInfo
, &r
);
1538 status
= cli_do_rpc_ndr(cli
,
1542 NDR_PNP_GETHWPROFINFO
,
1545 if (!NT_STATUS_IS_OK(status
)) {
1549 if (DEBUGLEVEL
>= 10) {
1550 NDR_PRINT_OUT_DEBUG(PNP_GetHwProfInfo
, &r
);
1553 if (NT_STATUS_IS_ERR(status
)) {
1557 /* Return variables */
1560 return NT_STATUS_OK
;
1563 NTSTATUS
rpccli_PNP_AddEmptyLogConf(struct rpc_pipe_client
*cli
,
1564 TALLOC_CTX
*mem_ctx
)
1566 struct PNP_AddEmptyLogConf r
;
1571 if (DEBUGLEVEL
>= 10) {
1572 NDR_PRINT_IN_DEBUG(PNP_AddEmptyLogConf
, &r
);
1575 status
= cli_do_rpc_ndr(cli
,
1579 NDR_PNP_ADDEMPTYLOGCONF
,
1582 if (!NT_STATUS_IS_OK(status
)) {
1586 if (DEBUGLEVEL
>= 10) {
1587 NDR_PRINT_OUT_DEBUG(PNP_AddEmptyLogConf
, &r
);
1590 if (NT_STATUS_IS_ERR(status
)) {
1594 /* Return variables */
1597 return NT_STATUS_OK
;
1600 NTSTATUS
rpccli_PNP_FreeLogConf(struct rpc_pipe_client
*cli
,
1601 TALLOC_CTX
*mem_ctx
)
1603 struct PNP_FreeLogConf r
;
1608 if (DEBUGLEVEL
>= 10) {
1609 NDR_PRINT_IN_DEBUG(PNP_FreeLogConf
, &r
);
1612 status
= cli_do_rpc_ndr(cli
,
1616 NDR_PNP_FREELOGCONF
,
1619 if (!NT_STATUS_IS_OK(status
)) {
1623 if (DEBUGLEVEL
>= 10) {
1624 NDR_PRINT_OUT_DEBUG(PNP_FreeLogConf
, &r
);
1627 if (NT_STATUS_IS_ERR(status
)) {
1631 /* Return variables */
1634 return NT_STATUS_OK
;
1637 NTSTATUS
rpccli_PNP_GetFirstLogConf(struct rpc_pipe_client
*cli
,
1638 TALLOC_CTX
*mem_ctx
)
1640 struct PNP_GetFirstLogConf r
;
1645 if (DEBUGLEVEL
>= 10) {
1646 NDR_PRINT_IN_DEBUG(PNP_GetFirstLogConf
, &r
);
1649 status
= cli_do_rpc_ndr(cli
,
1653 NDR_PNP_GETFIRSTLOGCONF
,
1656 if (!NT_STATUS_IS_OK(status
)) {
1660 if (DEBUGLEVEL
>= 10) {
1661 NDR_PRINT_OUT_DEBUG(PNP_GetFirstLogConf
, &r
);
1664 if (NT_STATUS_IS_ERR(status
)) {
1668 /* Return variables */
1671 return NT_STATUS_OK
;
1674 NTSTATUS
rpccli_PNP_GetNextLogConf(struct rpc_pipe_client
*cli
,
1675 TALLOC_CTX
*mem_ctx
)
1677 struct PNP_GetNextLogConf r
;
1682 if (DEBUGLEVEL
>= 10) {
1683 NDR_PRINT_IN_DEBUG(PNP_GetNextLogConf
, &r
);
1686 status
= cli_do_rpc_ndr(cli
,
1690 NDR_PNP_GETNEXTLOGCONF
,
1693 if (!NT_STATUS_IS_OK(status
)) {
1697 if (DEBUGLEVEL
>= 10) {
1698 NDR_PRINT_OUT_DEBUG(PNP_GetNextLogConf
, &r
);
1701 if (NT_STATUS_IS_ERR(status
)) {
1705 /* Return variables */
1708 return NT_STATUS_OK
;
1711 NTSTATUS
rpccli_PNP_GetLogConfPriority(struct rpc_pipe_client
*cli
,
1712 TALLOC_CTX
*mem_ctx
)
1714 struct PNP_GetLogConfPriority r
;
1719 if (DEBUGLEVEL
>= 10) {
1720 NDR_PRINT_IN_DEBUG(PNP_GetLogConfPriority
, &r
);
1723 status
= cli_do_rpc_ndr(cli
,
1727 NDR_PNP_GETLOGCONFPRIORITY
,
1730 if (!NT_STATUS_IS_OK(status
)) {
1734 if (DEBUGLEVEL
>= 10) {
1735 NDR_PRINT_OUT_DEBUG(PNP_GetLogConfPriority
, &r
);
1738 if (NT_STATUS_IS_ERR(status
)) {
1742 /* Return variables */
1745 return NT_STATUS_OK
;
1748 NTSTATUS
rpccli_PNP_AddResDes(struct rpc_pipe_client
*cli
,
1749 TALLOC_CTX
*mem_ctx
)
1751 struct PNP_AddResDes r
;
1756 if (DEBUGLEVEL
>= 10) {
1757 NDR_PRINT_IN_DEBUG(PNP_AddResDes
, &r
);
1760 status
= cli_do_rpc_ndr(cli
,
1767 if (!NT_STATUS_IS_OK(status
)) {
1771 if (DEBUGLEVEL
>= 10) {
1772 NDR_PRINT_OUT_DEBUG(PNP_AddResDes
, &r
);
1775 if (NT_STATUS_IS_ERR(status
)) {
1779 /* Return variables */
1782 return NT_STATUS_OK
;
1785 NTSTATUS
rpccli_PNP_FreeResDes(struct rpc_pipe_client
*cli
,
1786 TALLOC_CTX
*mem_ctx
)
1788 struct PNP_FreeResDes r
;
1793 if (DEBUGLEVEL
>= 10) {
1794 NDR_PRINT_IN_DEBUG(PNP_FreeResDes
, &r
);
1797 status
= cli_do_rpc_ndr(cli
,
1804 if (!NT_STATUS_IS_OK(status
)) {
1808 if (DEBUGLEVEL
>= 10) {
1809 NDR_PRINT_OUT_DEBUG(PNP_FreeResDes
, &r
);
1812 if (NT_STATUS_IS_ERR(status
)) {
1816 /* Return variables */
1819 return NT_STATUS_OK
;
1822 NTSTATUS
rpccli_PNP_GetNextResDes(struct rpc_pipe_client
*cli
,
1823 TALLOC_CTX
*mem_ctx
)
1825 struct PNP_GetNextResDes r
;
1830 if (DEBUGLEVEL
>= 10) {
1831 NDR_PRINT_IN_DEBUG(PNP_GetNextResDes
, &r
);
1834 status
= cli_do_rpc_ndr(cli
,
1838 NDR_PNP_GETNEXTRESDES
,
1841 if (!NT_STATUS_IS_OK(status
)) {
1845 if (DEBUGLEVEL
>= 10) {
1846 NDR_PRINT_OUT_DEBUG(PNP_GetNextResDes
, &r
);
1849 if (NT_STATUS_IS_ERR(status
)) {
1853 /* Return variables */
1856 return NT_STATUS_OK
;
1859 NTSTATUS
rpccli_PNP_GetResDesData(struct rpc_pipe_client
*cli
,
1860 TALLOC_CTX
*mem_ctx
)
1862 struct PNP_GetResDesData r
;
1867 if (DEBUGLEVEL
>= 10) {
1868 NDR_PRINT_IN_DEBUG(PNP_GetResDesData
, &r
);
1871 status
= cli_do_rpc_ndr(cli
,
1875 NDR_PNP_GETRESDESDATA
,
1878 if (!NT_STATUS_IS_OK(status
)) {
1882 if (DEBUGLEVEL
>= 10) {
1883 NDR_PRINT_OUT_DEBUG(PNP_GetResDesData
, &r
);
1886 if (NT_STATUS_IS_ERR(status
)) {
1890 /* Return variables */
1893 return NT_STATUS_OK
;
1896 NTSTATUS
rpccli_PNP_GetResDesDataSize(struct rpc_pipe_client
*cli
,
1897 TALLOC_CTX
*mem_ctx
)
1899 struct PNP_GetResDesDataSize r
;
1904 if (DEBUGLEVEL
>= 10) {
1905 NDR_PRINT_IN_DEBUG(PNP_GetResDesDataSize
, &r
);
1908 status
= cli_do_rpc_ndr(cli
,
1912 NDR_PNP_GETRESDESDATASIZE
,
1915 if (!NT_STATUS_IS_OK(status
)) {
1919 if (DEBUGLEVEL
>= 10) {
1920 NDR_PRINT_OUT_DEBUG(PNP_GetResDesDataSize
, &r
);
1923 if (NT_STATUS_IS_ERR(status
)) {
1927 /* Return variables */
1930 return NT_STATUS_OK
;
1933 NTSTATUS
rpccli_PNP_ModifyResDes(struct rpc_pipe_client
*cli
,
1934 TALLOC_CTX
*mem_ctx
)
1936 struct PNP_ModifyResDes r
;
1941 if (DEBUGLEVEL
>= 10) {
1942 NDR_PRINT_IN_DEBUG(PNP_ModifyResDes
, &r
);
1945 status
= cli_do_rpc_ndr(cli
,
1949 NDR_PNP_MODIFYRESDES
,
1952 if (!NT_STATUS_IS_OK(status
)) {
1956 if (DEBUGLEVEL
>= 10) {
1957 NDR_PRINT_OUT_DEBUG(PNP_ModifyResDes
, &r
);
1960 if (NT_STATUS_IS_ERR(status
)) {
1964 /* Return variables */
1967 return NT_STATUS_OK
;
1970 NTSTATUS
rpccli_PNP_DetectResourceLimit(struct rpc_pipe_client
*cli
,
1971 TALLOC_CTX
*mem_ctx
)
1973 struct PNP_DetectResourceLimit r
;
1978 if (DEBUGLEVEL
>= 10) {
1979 NDR_PRINT_IN_DEBUG(PNP_DetectResourceLimit
, &r
);
1982 status
= cli_do_rpc_ndr(cli
,
1986 NDR_PNP_DETECTRESOURCELIMIT
,
1989 if (!NT_STATUS_IS_OK(status
)) {
1993 if (DEBUGLEVEL
>= 10) {
1994 NDR_PRINT_OUT_DEBUG(PNP_DetectResourceLimit
, &r
);
1997 if (NT_STATUS_IS_ERR(status
)) {
2001 /* Return variables */
2004 return NT_STATUS_OK
;
2007 NTSTATUS
rpccli_PNP_QueryResConfList(struct rpc_pipe_client
*cli
,
2008 TALLOC_CTX
*mem_ctx
)
2010 struct PNP_QueryResConfList r
;
2015 if (DEBUGLEVEL
>= 10) {
2016 NDR_PRINT_IN_DEBUG(PNP_QueryResConfList
, &r
);
2019 status
= cli_do_rpc_ndr(cli
,
2023 NDR_PNP_QUERYRESCONFLIST
,
2026 if (!NT_STATUS_IS_OK(status
)) {
2030 if (DEBUGLEVEL
>= 10) {
2031 NDR_PRINT_OUT_DEBUG(PNP_QueryResConfList
, &r
);
2034 if (NT_STATUS_IS_ERR(status
)) {
2038 /* Return variables */
2041 return NT_STATUS_OK
;
2044 NTSTATUS
rpccli_PNP_SetHwProf(struct rpc_pipe_client
*cli
,
2045 TALLOC_CTX
*mem_ctx
)
2047 struct PNP_SetHwProf r
;
2052 if (DEBUGLEVEL
>= 10) {
2053 NDR_PRINT_IN_DEBUG(PNP_SetHwProf
, &r
);
2056 status
= cli_do_rpc_ndr(cli
,
2063 if (!NT_STATUS_IS_OK(status
)) {
2067 if (DEBUGLEVEL
>= 10) {
2068 NDR_PRINT_OUT_DEBUG(PNP_SetHwProf
, &r
);
2071 if (NT_STATUS_IS_ERR(status
)) {
2075 /* Return variables */
2078 return NT_STATUS_OK
;
2081 NTSTATUS
rpccli_PNP_QueryArbitratorFreeData(struct rpc_pipe_client
*cli
,
2082 TALLOC_CTX
*mem_ctx
)
2084 struct PNP_QueryArbitratorFreeData r
;
2089 if (DEBUGLEVEL
>= 10) {
2090 NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeData
, &r
);
2093 status
= cli_do_rpc_ndr(cli
,
2097 NDR_PNP_QUERYARBITRATORFREEDATA
,
2100 if (!NT_STATUS_IS_OK(status
)) {
2104 if (DEBUGLEVEL
>= 10) {
2105 NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeData
, &r
);
2108 if (NT_STATUS_IS_ERR(status
)) {
2112 /* Return variables */
2115 return NT_STATUS_OK
;
2118 NTSTATUS
rpccli_PNP_QueryArbitratorFreeSize(struct rpc_pipe_client
*cli
,
2119 TALLOC_CTX
*mem_ctx
)
2121 struct PNP_QueryArbitratorFreeSize r
;
2126 if (DEBUGLEVEL
>= 10) {
2127 NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeSize
, &r
);
2130 status
= cli_do_rpc_ndr(cli
,
2134 NDR_PNP_QUERYARBITRATORFREESIZE
,
2137 if (!NT_STATUS_IS_OK(status
)) {
2141 if (DEBUGLEVEL
>= 10) {
2142 NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeSize
, &r
);
2145 if (NT_STATUS_IS_ERR(status
)) {
2149 /* Return variables */
2152 return NT_STATUS_OK
;
2155 NTSTATUS
rpccli_PNP_RunDetection(struct rpc_pipe_client
*cli
,
2156 TALLOC_CTX
*mem_ctx
)
2158 struct PNP_RunDetection r
;
2163 if (DEBUGLEVEL
>= 10) {
2164 NDR_PRINT_IN_DEBUG(PNP_RunDetection
, &r
);
2167 status
= cli_do_rpc_ndr(cli
,
2171 NDR_PNP_RUNDETECTION
,
2174 if (!NT_STATUS_IS_OK(status
)) {
2178 if (DEBUGLEVEL
>= 10) {
2179 NDR_PRINT_OUT_DEBUG(PNP_RunDetection
, &r
);
2182 if (NT_STATUS_IS_ERR(status
)) {
2186 /* Return variables */
2189 return NT_STATUS_OK
;
2192 NTSTATUS
rpccli_PNP_RegisterNotification(struct rpc_pipe_client
*cli
,
2193 TALLOC_CTX
*mem_ctx
)
2195 struct PNP_RegisterNotification r
;
2200 if (DEBUGLEVEL
>= 10) {
2201 NDR_PRINT_IN_DEBUG(PNP_RegisterNotification
, &r
);
2204 status
= cli_do_rpc_ndr(cli
,
2208 NDR_PNP_REGISTERNOTIFICATION
,
2211 if (!NT_STATUS_IS_OK(status
)) {
2215 if (DEBUGLEVEL
>= 10) {
2216 NDR_PRINT_OUT_DEBUG(PNP_RegisterNotification
, &r
);
2219 if (NT_STATUS_IS_ERR(status
)) {
2223 /* Return variables */
2226 return NT_STATUS_OK
;
2229 NTSTATUS
rpccli_PNP_UnregisterNotification(struct rpc_pipe_client
*cli
,
2230 TALLOC_CTX
*mem_ctx
)
2232 struct PNP_UnregisterNotification r
;
2237 if (DEBUGLEVEL
>= 10) {
2238 NDR_PRINT_IN_DEBUG(PNP_UnregisterNotification
, &r
);
2241 status
= cli_do_rpc_ndr(cli
,
2245 NDR_PNP_UNREGISTERNOTIFICATION
,
2248 if (!NT_STATUS_IS_OK(status
)) {
2252 if (DEBUGLEVEL
>= 10) {
2253 NDR_PRINT_OUT_DEBUG(PNP_UnregisterNotification
, &r
);
2256 if (NT_STATUS_IS_ERR(status
)) {
2260 /* Return variables */
2263 return NT_STATUS_OK
;
2266 NTSTATUS
rpccli_PNP_GetCustomDevProp(struct rpc_pipe_client
*cli
,
2267 TALLOC_CTX
*mem_ctx
)
2269 struct PNP_GetCustomDevProp r
;
2274 if (DEBUGLEVEL
>= 10) {
2275 NDR_PRINT_IN_DEBUG(PNP_GetCustomDevProp
, &r
);
2278 status
= cli_do_rpc_ndr(cli
,
2282 NDR_PNP_GETCUSTOMDEVPROP
,
2285 if (!NT_STATUS_IS_OK(status
)) {
2289 if (DEBUGLEVEL
>= 10) {
2290 NDR_PRINT_OUT_DEBUG(PNP_GetCustomDevProp
, &r
);
2293 if (NT_STATUS_IS_ERR(status
)) {
2297 /* Return variables */
2300 return NT_STATUS_OK
;
2303 NTSTATUS
rpccli_PNP_GetVersionInternal(struct rpc_pipe_client
*cli
,
2304 TALLOC_CTX
*mem_ctx
)
2306 struct PNP_GetVersionInternal r
;
2311 if (DEBUGLEVEL
>= 10) {
2312 NDR_PRINT_IN_DEBUG(PNP_GetVersionInternal
, &r
);
2315 status
= cli_do_rpc_ndr(cli
,
2319 NDR_PNP_GETVERSIONINTERNAL
,
2322 if (!NT_STATUS_IS_OK(status
)) {
2326 if (DEBUGLEVEL
>= 10) {
2327 NDR_PRINT_OUT_DEBUG(PNP_GetVersionInternal
, &r
);
2330 if (NT_STATUS_IS_ERR(status
)) {
2334 /* Return variables */
2337 return NT_STATUS_OK
;
2340 NTSTATUS
rpccli_PNP_GetBlockedDriverInfo(struct rpc_pipe_client
*cli
,
2341 TALLOC_CTX
*mem_ctx
)
2343 struct PNP_GetBlockedDriverInfo r
;
2348 if (DEBUGLEVEL
>= 10) {
2349 NDR_PRINT_IN_DEBUG(PNP_GetBlockedDriverInfo
, &r
);
2352 status
= cli_do_rpc_ndr(cli
,
2356 NDR_PNP_GETBLOCKEDDRIVERINFO
,
2359 if (!NT_STATUS_IS_OK(status
)) {
2363 if (DEBUGLEVEL
>= 10) {
2364 NDR_PRINT_OUT_DEBUG(PNP_GetBlockedDriverInfo
, &r
);
2367 if (NT_STATUS_IS_ERR(status
)) {
2371 /* Return variables */
2374 return NT_STATUS_OK
;
2377 NTSTATUS
rpccli_PNP_GetServerSideDeviceInstallFlags(struct rpc_pipe_client
*cli
,
2378 TALLOC_CTX
*mem_ctx
)
2380 struct PNP_GetServerSideDeviceInstallFlags r
;
2385 if (DEBUGLEVEL
>= 10) {
2386 NDR_PRINT_IN_DEBUG(PNP_GetServerSideDeviceInstallFlags
, &r
);
2389 status
= cli_do_rpc_ndr(cli
,
2393 NDR_PNP_GETSERVERSIDEDEVICEINSTALLFLAGS
,
2396 if (!NT_STATUS_IS_OK(status
)) {
2400 if (DEBUGLEVEL
>= 10) {
2401 NDR_PRINT_OUT_DEBUG(PNP_GetServerSideDeviceInstallFlags
, &r
);
2404 if (NT_STATUS_IS_ERR(status
)) {
2408 /* Return variables */
2411 return NT_STATUS_OK
;