summaryrefslogtreecommitdiff
path: root/librpc/idl/ntsvcs.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-09 17:53:36 +0200
committerGünther Deschner <gd@samba.org>2009-04-10 01:06:51 +0200
commit7065b2b2ad604a3faf8df0e123e04ed7f532afda (patch)
tree63ce7deaf0c90f55e836def3496ae15c6f308c7d /librpc/idl/ntsvcs.idl
parent76da89daaadc358c836817cf597a1ff1489a9029 (diff)
downloadsamba-7065b2b2ad604a3faf8df0e123e04ed7f532afda.tar.gz
ntsvcs: add PNP_GetIdListFlags flags.
Guenther
Diffstat (limited to 'librpc/idl/ntsvcs.idl')
-rw-r--r--librpc/idl/ntsvcs.idl19
1 files changed, 17 insertions, 2 deletions
diff --git a/librpc/idl/ntsvcs.idl b/librpc/idl/ntsvcs.idl
index be7fcdff13b..b1a3b78c344 100644
--- a/librpc/idl/ntsvcs.idl
+++ b/librpc/idl/ntsvcs.idl
@@ -70,11 +70,26 @@ interface ntsvcs
/******************/
/* Function: 0x0a */
+ const int CM_GETIDLIST_FILTER_NONE = 0x00000000;
+
+ typedef [bitmap32bit] bitmap {
+ CM_GETIDLIST_FILTER_ENUMERATOR = 0x00000001,
+ CM_GETIDLIST_FILTER_SERVICE = 0x00000002,
+ CM_GETIDLIST_FILTER_EJECTRELATIONS = 0x00000004,
+ CM_GETIDLIST_FILTER_REMOVALRELATIONS = 0x00000008,
+ CM_GETIDLIST_FILTER_POWERRELATIONS = 0x00000010,
+ CM_GETIDLIST_FILTER_BUSRELATIONS = 0x00000020,
+ CM_GETIDLIST_DONOTGENERATE = 0x10000040,
+ CM_GETIDLIST_FILTER_TRANSPORTRELATIONS = 0x00000080,
+ CM_GETIDLIST_FILTER_PRESENT = 0x00000100,
+ CM_GETIDLIST_FILTER_CLASS = 0x00000200
+ } PNP_GetIdListFlags;
+
WERROR PNP_GetDeviceList(
[in,unique] [string,charset(UTF16)] uint16 *filter,
[out,ref] [size_is(*length),length_is(*length)] uint16 *buffer,
[in,out,ref] uint32 *length,
- [in] uint32 flags
+ [in] PNP_GetIdListFlags flags
);
/******************/
@@ -83,7 +98,7 @@ interface ntsvcs
WERROR PNP_GetDeviceListSize(
[in,unique] [string,charset(UTF16)] uint16 *devicename,
[out,ref] uint32 *size,
- [in] uint32 flags
+ [in] PNP_GetIdListFlags flags
);
/******************/