From 82ab936f6a0282004c936da6d3721290a1e4f539 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 18 Feb 2008 02:37:26 +0100 Subject: Fill in IDL for PNP_GetDeviceRegProp. Guenther (This used to be commit b1b6e93aa1f1b6d80969b6e5dd8f723e21ae8ce8) --- source3/include/rpc_ntsvcs.h | 2 -- source3/librpc/idl/ntsvcs.idl | 13 +++++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/source3/include/rpc_ntsvcs.h b/source3/include/rpc_ntsvcs.h index 71274cc380..0056d16eb9 100644 --- a/source3/include/rpc_ntsvcs.h +++ b/source3/include/rpc_ntsvcs.h @@ -49,8 +49,6 @@ typedef struct { /**************************/ -#define DEV_REGPROP_DESC 1 - typedef struct { UNISTR2 devicepath; uint32 property; diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index af0c7032da..bac2549c73 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -1,7 +1,6 @@ /* plug and play services */ - [ uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"), version(1.0), @@ -86,7 +85,17 @@ interface ntsvcs /******************/ /* Function: 0x0d */ - WERROR PNP_GetDeviceRegProp(); + const int DEV_REGPROP_DESC = 1; + + WERROR PNP_GetDeviceRegProp( + [in,ref] [string,charset(UTF16)] uint16 *devicepath, + [in] uint32 property, + [in,out,ref] uint32 *unknown1, + [out,ref] [size_is(*buffer_size)] [length_is(*buffer_size)] uint8 *buffer, + [in,out,ref] uint32 *buffer_size, + [in,out,ref] uint32 *needed, + [in] uint32 unknown3 + ); /******************/ /* Function: 0x0e */ -- cgit