2008-02-17 20:25:05 +01:00
/* header auto-generated by pidl */
# include <stdint.h>
2009-02-25 15:22:08 +01:00
# include "libcli/util/ntstatus.h"
2008-11-12 09:18:55 +01:00
# include "librpc/gen_ndr/winreg.h"
2008-02-17 20:25:05 +01:00
# ifndef _HEADER_ntsvcs
# define _HEADER_ntsvcs
2009-04-10 00:01:41 +02:00
# define CM_GETIDLIST_FILTER_NONE ( 0x00000000 )
2008-03-26 11:35:44 +01:00
# define DEV_REGPROP_DESC ( 1 )
2009-04-10 00:01:41 +02:00
/* bitmap PNP_GetIdListFlags */
# define CM_GETIDLIST_FILTER_ENUMERATOR ( 0x00000001 )
# define CM_GETIDLIST_FILTER_SERVICE ( 0x00000002 )
# define CM_GETIDLIST_FILTER_EJECTRELATIONS ( 0x00000004 )
# define CM_GETIDLIST_FILTER_REMOVALRELATIONS ( 0x00000008 )
# define CM_GETIDLIST_FILTER_POWERRELATIONS ( 0x00000010 )
# define CM_GETIDLIST_FILTER_BUSRELATIONS ( 0x00000020 )
# define CM_GETIDLIST_DONOTGENERATE ( 0x10000040 )
# define CM_GETIDLIST_FILTER_TRANSPORTRELATIONS ( 0x00000080 )
# define CM_GETIDLIST_FILTER_PRESENT ( 0x00000100 )
# define CM_GETIDLIST_FILTER_CLASS ( 0x00000200 )
2008-02-18 01:38:08 +01:00
struct PNP_HwProfInfo {
2008-11-12 09:30:46 +01:00
uint32_t profile_handle ;
uint16_t friendly_name [ 80 ] ;
uint32_t flags ;
2008-02-18 01:38:08 +01:00
} ;
2008-02-17 20:25:05 +01:00
struct PNP_Disconnect {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_Connect {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetVersion {
2008-02-17 23:29:35 +01:00
struct {
uint16_t * version ; /* [ref] */
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetGlobalState {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_InitDetection {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_ReportLogOn {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_ValidateDeviceInstance {
2008-02-17 23:44:50 +01:00
struct {
const char * devicepath ; /* [ref,charset(UTF16)] */
uint32_t flags ;
} in ;
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetRootDeviceInstance {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetRelatedDeviceInstance {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_EnumerateSubKeys {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetDeviceList {
2008-02-17 23:29:35 +01:00
struct {
2008-10-19 00:26:16 +02:00
const char * filter ; /* [unique,charset(UTF16)] */
uint32_t flags ;
uint32_t * length ; /* [ref] */
} in ;
struct {
uint16_t * buffer ; /* [ref,length_is(*length),size_is(*length)] */
uint32_t * length ; /* [ref] */
2008-02-17 23:29:35 +01:00
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetDeviceListSize {
2008-02-17 23:29:35 +01:00
struct {
2008-02-18 00:26:10 +01:00
const char * devicename ; /* [unique,charset(UTF16)] */
uint32_t flags ;
} in ;
struct {
uint32_t * size ; /* [ref] */
2008-02-17 23:29:35 +01:00
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetDepth {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetDeviceRegProp {
2008-02-17 23:29:35 +01:00
struct {
2008-03-26 11:35:44 +01:00
const char * devicepath ; /* [ref,charset(UTF16)] */
uint32_t property ;
2008-10-19 00:26:16 +02:00
uint32_t flags ;
2008-11-12 09:18:55 +01:00
enum winreg_Type * reg_data_type ; /* [ref] */
2008-03-26 11:35:44 +01:00
uint32_t * buffer_size ; /* [ref] */
uint32_t * needed ; /* [ref] */
} in ;
struct {
uint8_t * buffer ; /* [ref,length_is(*buffer_size),size_is(*buffer_size)] */
2008-11-12 09:18:55 +01:00
enum winreg_Type * reg_data_type ; /* [ref] */
2008-03-26 11:35:44 +01:00
uint32_t * buffer_size ; /* [ref] */
uint32_t * needed ; /* [ref] */
2008-02-17 23:29:35 +01:00
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_SetDeviceRegProp {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetClassInstance {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_CreateKey {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_DeleteRegistryKey {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetClassCount {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetClassName {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_DeleteClassKey {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetInterfaceDeviceAlias {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetInterfaceDeviceList {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetInterfaceDeviceListSize {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_RegisterDeviceClassAssociation {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_UnregisterDeviceClassAssociation {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetClassRegProp {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_SetClassRegProp {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_CreateDevInst {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_DeviceInstanceAction {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetDeviceStatus {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_SetDeviceProblem {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_DisableDevInst {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_UninstallDevInst {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_AddID {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_RegisterDriver {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_QueryRemove {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_RequestDeviceEject {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_IsDockStationPresent {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_RequestEjectPC {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_HwProfFlags {
2008-02-17 23:29:35 +01:00
struct {
2008-11-12 09:36:08 +01:00
uint32_t action ;
2008-02-18 01:37:06 +01:00
const char * devicepath ; /* [ref,charset(UTF16)] */
2008-11-12 09:36:08 +01:00
uint32_t config ;
2008-02-18 01:37:06 +01:00
const char * unknown5 ; /* [unique,charset(UTF16)] */
2008-11-12 09:36:08 +01:00
uint32_t name_length ;
uint32_t flags ;
uint32_t * profile_flags ; /* [ref] */
uint16_t * veto_type ; /* [unique] */
2008-02-18 01:37:06 +01:00
} in ;
struct {
const char * * unknown5a ; /* [unique,charset(UTF16)] */
2008-11-12 09:36:08 +01:00
uint32_t * profile_flags ; /* [ref] */
uint16_t * veto_type ; /* [unique] */
2008-02-17 23:29:35 +01:00
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetHwProfInfo {
2008-02-17 23:29:35 +01:00
struct {
2008-02-18 01:38:08 +01:00
uint32_t idx ;
2008-11-12 09:30:46 +01:00
uint32_t size ;
uint32_t flags ;
2008-02-18 01:38:08 +01:00
struct PNP_HwProfInfo * info ; /* [ref] */
} in ;
struct {
struct PNP_HwProfInfo * info ; /* [ref] */
2008-02-17 23:29:35 +01:00
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_AddEmptyLogConf {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_FreeLogConf {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetFirstLogConf {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetNextLogConf {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetLogConfPriority {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_AddResDes {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_FreeResDes {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetNextResDes {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetResDesData {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetResDesDataSize {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_ModifyResDes {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_DetectResourceLimit {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_QueryResConfList {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_SetHwProf {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_QueryArbitratorFreeData {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_QueryArbitratorFreeSize {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_RunDetection {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_RegisterNotification {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_UnregisterNotification {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetCustomDevProp {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetVersionInternal {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetBlockedDriverInfo {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
struct PNP_GetServerSideDeviceInstallFlags {
2008-02-17 23:29:35 +01:00
struct {
WERROR result ;
} out ;
2008-02-17 20:25:05 +01:00
} ;
# endif /* _HEADER_ntsvcs */