1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/misc.h"
11 #define CM_GETIDLIST_FILTER_NONE ( 0x00000000 )
12 #define DEV_REGPROP_DESC ( 1 )
13 /* bitmap PNP_GetIdListFlags */
14 #define CM_GETIDLIST_FILTER_ENUMERATOR ( 0x00000001 )
15 #define CM_GETIDLIST_FILTER_SERVICE ( 0x00000002 )
16 #define CM_GETIDLIST_FILTER_EJECTRELATIONS ( 0x00000004 )
17 #define CM_GETIDLIST_FILTER_REMOVALRELATIONS ( 0x00000008 )
18 #define CM_GETIDLIST_FILTER_POWERRELATIONS ( 0x00000010 )
19 #define CM_GETIDLIST_FILTER_BUSRELATIONS ( 0x00000020 )
20 #define CM_GETIDLIST_DONOTGENERATE ( 0x10000040 )
21 #define CM_GETIDLIST_FILTER_TRANSPORTRELATIONS ( 0x00000080 )
22 #define CM_GETIDLIST_FILTER_PRESENT ( 0x00000100 )
23 #define CM_GETIDLIST_FILTER_CLASS ( 0x00000200 )
25 struct PNP_HwProfInfo
{
26 uint32_t profile_handle
;
27 uint16_t friendly_name
[80];
32 struct PNP_Disconnect
{
48 struct PNP_GetVersion
{
50 uint16_t *version
;/* [ref] */
57 struct PNP_GetGlobalState
{
65 struct PNP_InitDetection
{
73 struct PNP_ReportLogOn
{
81 struct PNP_ValidateDeviceInstance
{
83 const char *devicepath
;/* [ref,charset(UTF16)] */
94 struct PNP_GetRootDeviceInstance
{
102 struct PNP_GetRelatedDeviceInstance
{
110 struct PNP_EnumerateSubKeys
{
118 struct PNP_GetDeviceList
{
120 const char *filter
;/* [unique,charset(UTF16)] */
122 uint32_t *length
;/* [ref] */
126 uint16_t *buffer
;/* [ref,length_is(*length),size_is(*length)] */
127 uint32_t *length
;/* [ref] */
134 struct PNP_GetDeviceListSize
{
136 const char *devicename
;/* [unique,charset(UTF16)] */
141 uint32_t *size
;/* [ref] */
148 struct PNP_GetDepth
{
156 struct PNP_GetDeviceRegProp
{
158 const char *devicepath
;/* [ref,charset(UTF16)] */
161 enum winreg_Type
*reg_data_type
;/* [ref] */
162 uint32_t *buffer_size
;/* [ref] */
163 uint32_t *needed
;/* [ref] */
167 uint8_t *buffer
;/* [ref,length_is(*buffer_size),size_is(*buffer_size)] */
168 enum winreg_Type
*reg_data_type
;/* [ref] */
169 uint32_t *buffer_size
;/* [ref] */
170 uint32_t *needed
;/* [ref] */
177 struct PNP_SetDeviceRegProp
{
185 struct PNP_GetClassInstance
{
193 struct PNP_CreateKey
{
201 struct PNP_DeleteRegistryKey
{
209 struct PNP_GetClassCount
{
217 struct PNP_GetClassName
{
225 struct PNP_DeleteClassKey
{
233 struct PNP_GetInterfaceDeviceAlias
{
241 struct PNP_GetInterfaceDeviceList
{
249 struct PNP_GetInterfaceDeviceListSize
{
257 struct PNP_RegisterDeviceClassAssociation
{
265 struct PNP_UnregisterDeviceClassAssociation
{
273 struct PNP_GetClassRegProp
{
281 struct PNP_SetClassRegProp
{
289 struct PNP_CreateDevInst
{
297 struct PNP_DeviceInstanceAction
{
305 struct PNP_GetDeviceStatus
{
313 struct PNP_SetDeviceProblem
{
321 struct PNP_DisableDevInst
{
329 struct PNP_UninstallDevInst
{
345 struct PNP_RegisterDriver
{
353 struct PNP_QueryRemove
{
361 struct PNP_RequestDeviceEject
{
369 struct PNP_IsDockStationPresent
{
377 struct PNP_RequestEjectPC
{
385 struct PNP_HwProfFlags
{
388 const char *devicepath
;/* [ref,charset(UTF16)] */
390 const char *unknown5
;/* [unique,charset(UTF16)] */
391 uint32_t name_length
;
393 uint32_t *profile_flags
;/* [ref] */
394 uint16_t *veto_type
;/* [unique] */
398 const char **unknown5a
;/* [unique,charset(UTF16)] */
399 uint32_t *profile_flags
;/* [ref] */
400 uint16_t *veto_type
;/* [unique] */
407 struct PNP_GetHwProfInfo
{
412 struct PNP_HwProfInfo
*info
;/* [ref] */
416 struct PNP_HwProfInfo
*info
;/* [ref] */
423 struct PNP_AddEmptyLogConf
{
431 struct PNP_FreeLogConf
{
439 struct PNP_GetFirstLogConf
{
447 struct PNP_GetNextLogConf
{
455 struct PNP_GetLogConfPriority
{
463 struct PNP_AddResDes
{
471 struct PNP_FreeResDes
{
479 struct PNP_GetNextResDes
{
487 struct PNP_GetResDesData
{
495 struct PNP_GetResDesDataSize
{
503 struct PNP_ModifyResDes
{
511 struct PNP_DetectResourceLimit
{
519 struct PNP_QueryResConfList
{
527 struct PNP_SetHwProf
{
535 struct PNP_QueryArbitratorFreeData
{
543 struct PNP_QueryArbitratorFreeSize
{
551 struct PNP_RunDetection
{
559 struct PNP_RegisterNotification
{
567 struct PNP_UnregisterNotification
{
575 struct PNP_GetCustomDevProp
{
583 struct PNP_GetVersionInternal
{
591 struct PNP_GetBlockedDriverInfo
{
599 struct PNP_GetServerSideDeviceInstallFlags
{
606 #endif /* _HEADER_ntsvcs */