From 48450d97a56b43febb3853aba8caea4dd2cdffe1 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 6 Sep 2006 18:04:51 +0000 Subject: r18185: add librpc/idl and relevant IDL files from SAMBA_4_0 (This used to be commit 6da1ef0f1cf4d47c26cdb850f01a3411dfd87350) --- source3/librpc/idl/ntsvcs.idl | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 source3/librpc/idl/ntsvcs.idl (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl new file mode 100644 index 0000000000..05ba68e727 --- /dev/null +++ b/source3/librpc/idl/ntsvcs.idl @@ -0,0 +1,77 @@ +/* + plug and play services +*/ + +[ + uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"), + version(1.0), + helpstring("Plug and Play services") +] +interface ntsvcs +{ + void PNP_Disconnect(); + void PNP_Connect(); + void PNP_GetVersion(); + void PNP_GetGlobalState(); + void PNP_InitDetection(); + void PNP_ReportLogOn(); + void PNP_ValidateDeviceInstance(); + void PNP_GetRootDeviceInstance(); + void PNP_GetRelatedDeviceInstance(); + void PNP_EnumerateSubKeys(); + void PNP_GetDeviceList(); + void PNP_GetDeviceListSize(); + void PNP_GetDepth(); + void PNP_GetDeviceRegProp(); + void PNP_SetDeviceRegProp(); + void PNP_GetClassInstance(); + void PNP_CreateKey(); + void PNP_DeleteRegistryKey(); + void PNP_GetClassCount(); + void PNP_GetClassName(); + void PNP_DeleteClassKey(); + void PNP_GetInterfaceDeviceAlias(); + void PNP_GetInterfaceDeviceList(); + void PNP_GetInterfaceDeviceListSize(); + void PNP_RegisterDeviceClassAssociation(); + void PNP_UnregisterDeviceClassAssociation(); + void PNP_GetClassRegProp(); + void PNP_SetClassRegProp(); + void PNP_CreateDevInst(); + void PNP_DeviceInstanceAction(); + void PNP_GetDeviceStatus(); + void PNP_SetDeviceProblem(); + void PNP_DisableDevInst(); + void PNP_UninstallDevInst(); + void PNP_AddID(); + void PNP_RegisterDriver(); + void PNP_QueryRemove(); + void PNP_RequestDeviceEject(); + void PNP_IsDockStationPresent(); + void PNP_RequestEjectPC(); + void PNP_HwProfFlags(); + void PNP_GetHwProfInfo(); + void PNP_AddEmptyLogConf(); + void PNP_FreeLogConf(); + void PNP_GetFirstLogConf(); + void PNP_GetNextLogConf(); + void PNP_GetLogConfPriority(); + void PNP_AddResDes(); + void PNP_FreeResDes(); + void PNP_GetNextResDes(); + void PNP_GetResDesData(); + void PNP_GetResDesDataSize(); + void PNP_ModifyResDes(); + void PNP_DetectResourceLimit(); + void PNP_QueryResConfList(); + void PNP_SetHwProf(); + void PNP_QueryArbitratorFreeData(); + void PNP_QueryArbitratorFreeSize(); + void PNP_RunDetection(); + void PNP_RegisterNotification(); + void PNP_UnregisterNotification(); + void PNP_GetCustomDevProp(); + void PNP_GetVersionInternal(); + void PNP_GetBlockedDriverInfo(); + void PNP_GetServerSideDeviceInstallFlags(); +} -- cgit From a7be2ec7c5eb8bda76eaec0eaff7e1a7b2b39433 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 6 Sep 2006 18:13:16 +0000 Subject: r18187: Replace copy of idl files with a svn:externals link. Will fix the build_idl.sh script to only process the files we are concerned with in this branch. (This used to be commit 647ed21b098e8fe6513040de7a540fe77fa0b37e) --- source3/librpc/idl/ntsvcs.idl | 77 ------------------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 source3/librpc/idl/ntsvcs.idl (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl deleted file mode 100644 index 05ba68e727..0000000000 --- a/source3/librpc/idl/ntsvcs.idl +++ /dev/null @@ -1,77 +0,0 @@ -/* - plug and play services -*/ - -[ - uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"), - version(1.0), - helpstring("Plug and Play services") -] -interface ntsvcs -{ - void PNP_Disconnect(); - void PNP_Connect(); - void PNP_GetVersion(); - void PNP_GetGlobalState(); - void PNP_InitDetection(); - void PNP_ReportLogOn(); - void PNP_ValidateDeviceInstance(); - void PNP_GetRootDeviceInstance(); - void PNP_GetRelatedDeviceInstance(); - void PNP_EnumerateSubKeys(); - void PNP_GetDeviceList(); - void PNP_GetDeviceListSize(); - void PNP_GetDepth(); - void PNP_GetDeviceRegProp(); - void PNP_SetDeviceRegProp(); - void PNP_GetClassInstance(); - void PNP_CreateKey(); - void PNP_DeleteRegistryKey(); - void PNP_GetClassCount(); - void PNP_GetClassName(); - void PNP_DeleteClassKey(); - void PNP_GetInterfaceDeviceAlias(); - void PNP_GetInterfaceDeviceList(); - void PNP_GetInterfaceDeviceListSize(); - void PNP_RegisterDeviceClassAssociation(); - void PNP_UnregisterDeviceClassAssociation(); - void PNP_GetClassRegProp(); - void PNP_SetClassRegProp(); - void PNP_CreateDevInst(); - void PNP_DeviceInstanceAction(); - void PNP_GetDeviceStatus(); - void PNP_SetDeviceProblem(); - void PNP_DisableDevInst(); - void PNP_UninstallDevInst(); - void PNP_AddID(); - void PNP_RegisterDriver(); - void PNP_QueryRemove(); - void PNP_RequestDeviceEject(); - void PNP_IsDockStationPresent(); - void PNP_RequestEjectPC(); - void PNP_HwProfFlags(); - void PNP_GetHwProfInfo(); - void PNP_AddEmptyLogConf(); - void PNP_FreeLogConf(); - void PNP_GetFirstLogConf(); - void PNP_GetNextLogConf(); - void PNP_GetLogConfPriority(); - void PNP_AddResDes(); - void PNP_FreeResDes(); - void PNP_GetNextResDes(); - void PNP_GetResDesData(); - void PNP_GetResDesDataSize(); - void PNP_ModifyResDes(); - void PNP_DetectResourceLimit(); - void PNP_QueryResConfList(); - void PNP_SetHwProf(); - void PNP_QueryArbitratorFreeData(); - void PNP_QueryArbitratorFreeSize(); - void PNP_RunDetection(); - void PNP_RegisterNotification(); - void PNP_UnregisterNotification(); - void PNP_GetCustomDevProp(); - void PNP_GetVersionInternal(); - void PNP_GetBlockedDriverInfo(); - void PNP_GetServerSideDeviceInstallFlags(); -} -- cgit From 8dd826f50026f29cf1175ce56111c4832f2d4809 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 18 Sep 2006 19:02:06 +0000 Subject: r18618: * remove svn:externals * 'make idl' now requires pidl in the current PATH * regenerate winreg ndr files (This used to be commit e936d39e00f07d942ce977b9a725ebe7b9e57625) --- source3/librpc/idl/ntsvcs.idl | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 source3/librpc/idl/ntsvcs.idl (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl new file mode 100644 index 0000000000..05ba68e727 --- /dev/null +++ b/source3/librpc/idl/ntsvcs.idl @@ -0,0 +1,77 @@ +/* + plug and play services +*/ + +[ + uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"), + version(1.0), + helpstring("Plug and Play services") +] +interface ntsvcs +{ + void PNP_Disconnect(); + void PNP_Connect(); + void PNP_GetVersion(); + void PNP_GetGlobalState(); + void PNP_InitDetection(); + void PNP_ReportLogOn(); + void PNP_ValidateDeviceInstance(); + void PNP_GetRootDeviceInstance(); + void PNP_GetRelatedDeviceInstance(); + void PNP_EnumerateSubKeys(); + void PNP_GetDeviceList(); + void PNP_GetDeviceListSize(); + void PNP_GetDepth(); + void PNP_GetDeviceRegProp(); + void PNP_SetDeviceRegProp(); + void PNP_GetClassInstance(); + void PNP_CreateKey(); + void PNP_DeleteRegistryKey(); + void PNP_GetClassCount(); + void PNP_GetClassName(); + void PNP_DeleteClassKey(); + void PNP_GetInterfaceDeviceAlias(); + void PNP_GetInterfaceDeviceList(); + void PNP_GetInterfaceDeviceListSize(); + void PNP_RegisterDeviceClassAssociation(); + void PNP_UnregisterDeviceClassAssociation(); + void PNP_GetClassRegProp(); + void PNP_SetClassRegProp(); + void PNP_CreateDevInst(); + void PNP_DeviceInstanceAction(); + void PNP_GetDeviceStatus(); + void PNP_SetDeviceProblem(); + void PNP_DisableDevInst(); + void PNP_UninstallDevInst(); + void PNP_AddID(); + void PNP_RegisterDriver(); + void PNP_QueryRemove(); + void PNP_RequestDeviceEject(); + void PNP_IsDockStationPresent(); + void PNP_RequestEjectPC(); + void PNP_HwProfFlags(); + void PNP_GetHwProfInfo(); + void PNP_AddEmptyLogConf(); + void PNP_FreeLogConf(); + void PNP_GetFirstLogConf(); + void PNP_GetNextLogConf(); + void PNP_GetLogConfPriority(); + void PNP_AddResDes(); + void PNP_FreeResDes(); + void PNP_GetNextResDes(); + void PNP_GetResDesData(); + void PNP_GetResDesDataSize(); + void PNP_ModifyResDes(); + void PNP_DetectResourceLimit(); + void PNP_QueryResConfList(); + void PNP_SetHwProf(); + void PNP_QueryArbitratorFreeData(); + void PNP_QueryArbitratorFreeSize(); + void PNP_RunDetection(); + void PNP_RegisterNotification(); + void PNP_UnregisterNotification(); + void PNP_GetCustomDevProp(); + void PNP_GetVersionInternal(); + void PNP_GetBlockedDriverInfo(); + void PNP_GetServerSideDeviceInstallFlags(); +} -- cgit From 6a98db8f954b15fb027404288061aa048e79c4f6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 17 Feb 2008 23:13:38 +0100 Subject: Move all dummy ntsvcs calls to WERROR. Guenther (This used to be commit 76bc44ecfb550a1d2aac003d2131aa145897b31c) --- source3/librpc/idl/ntsvcs.idl | 389 +++++++++++++++++++++++++++++++++++------- 1 file changed, 324 insertions(+), 65 deletions(-) (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index 05ba68e727..1c4850b4c3 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -9,69 +9,328 @@ ] interface ntsvcs { - void PNP_Disconnect(); - void PNP_Connect(); - void PNP_GetVersion(); - void PNP_GetGlobalState(); - void PNP_InitDetection(); - void PNP_ReportLogOn(); - void PNP_ValidateDeviceInstance(); - void PNP_GetRootDeviceInstance(); - void PNP_GetRelatedDeviceInstance(); - void PNP_EnumerateSubKeys(); - void PNP_GetDeviceList(); - void PNP_GetDeviceListSize(); - void PNP_GetDepth(); - void PNP_GetDeviceRegProp(); - void PNP_SetDeviceRegProp(); - void PNP_GetClassInstance(); - void PNP_CreateKey(); - void PNP_DeleteRegistryKey(); - void PNP_GetClassCount(); - void PNP_GetClassName(); - void PNP_DeleteClassKey(); - void PNP_GetInterfaceDeviceAlias(); - void PNP_GetInterfaceDeviceList(); - void PNP_GetInterfaceDeviceListSize(); - void PNP_RegisterDeviceClassAssociation(); - void PNP_UnregisterDeviceClassAssociation(); - void PNP_GetClassRegProp(); - void PNP_SetClassRegProp(); - void PNP_CreateDevInst(); - void PNP_DeviceInstanceAction(); - void PNP_GetDeviceStatus(); - void PNP_SetDeviceProblem(); - void PNP_DisableDevInst(); - void PNP_UninstallDevInst(); - void PNP_AddID(); - void PNP_RegisterDriver(); - void PNP_QueryRemove(); - void PNP_RequestDeviceEject(); - void PNP_IsDockStationPresent(); - void PNP_RequestEjectPC(); - void PNP_HwProfFlags(); - void PNP_GetHwProfInfo(); - void PNP_AddEmptyLogConf(); - void PNP_FreeLogConf(); - void PNP_GetFirstLogConf(); - void PNP_GetNextLogConf(); - void PNP_GetLogConfPriority(); - void PNP_AddResDes(); - void PNP_FreeResDes(); - void PNP_GetNextResDes(); - void PNP_GetResDesData(); - void PNP_GetResDesDataSize(); - void PNP_ModifyResDes(); - void PNP_DetectResourceLimit(); - void PNP_QueryResConfList(); - void PNP_SetHwProf(); - void PNP_QueryArbitratorFreeData(); - void PNP_QueryArbitratorFreeSize(); - void PNP_RunDetection(); - void PNP_RegisterNotification(); - void PNP_UnregisterNotification(); - void PNP_GetCustomDevProp(); - void PNP_GetVersionInternal(); - void PNP_GetBlockedDriverInfo(); - void PNP_GetServerSideDeviceInstallFlags(); + /******************/ + /* Function: 0x00 */ + + WERROR PNP_Disconnect(); + + /******************/ + /* Function: 0x01 */ + + WERROR PNP_Connect(); + + /******************/ + /* Function: 0x02 */ + + WERROR PNP_GetVersion(); + + /******************/ + /* Function: 0x03 */ + + WERROR PNP_GetGlobalState(); + + /******************/ + /* Function: 0x04 */ + + WERROR PNP_InitDetection(); + + /******************/ + /* Function: 0x05 */ + + WERROR PNP_ReportLogOn(); + + /******************/ + /* Function: 0x06 */ + + WERROR PNP_ValidateDeviceInstance(); + + /******************/ + /* Function: 0x07 */ + + WERROR PNP_GetRootDeviceInstance(); + + /******************/ + /* Function: 0x08 */ + + WERROR PNP_GetRelatedDeviceInstance(); + + /******************/ + /* Function: 0x09 */ + + WERROR PNP_EnumerateSubKeys(); + + /******************/ + /* Function: 0x0a */ + + WERROR PNP_GetDeviceList(); + + /******************/ + /* Function: 0x0b */ + + WERROR PNP_GetDeviceListSize(); + + /******************/ + /* Function: 0x0c */ + + WERROR PNP_GetDepth(); + + /******************/ + /* Function: 0x0d */ + + WERROR PNP_GetDeviceRegProp(); + + /******************/ + /* Function: 0x0e */ + + WERROR PNP_SetDeviceRegProp(); + + /******************/ + /* Function: 0x0f */ + + WERROR PNP_GetClassInstance(); + + /******************/ + /* Function: 0x10 */ + + WERROR PNP_CreateKey(); + + /******************/ + /* Function: 0x11 */ + + WERROR PNP_DeleteRegistryKey(); + + /******************/ + /* Function: 0x12 */ + + WERROR PNP_GetClassCount(); + + /******************/ + /* Function: 0x13 */ + + WERROR PNP_GetClassName(); + + /******************/ + /* Function: 0x14 */ + + WERROR PNP_DeleteClassKey(); + + /******************/ + /* Function: 0x15 */ + + WERROR PNP_GetInterfaceDeviceAlias(); + + /******************/ + /* Function: 0x16 */ + + WERROR PNP_GetInterfaceDeviceList(); + + /******************/ + /* Function: 0x17 */ + + WERROR PNP_GetInterfaceDeviceListSize(); + + /******************/ + /* Function: 0x18 */ + + WERROR PNP_RegisterDeviceClassAssociation(); + + /******************/ + /* Function: 0x19 */ + + WERROR PNP_UnregisterDeviceClassAssociation(); + + /******************/ + /* Function: 0x1a */ + + WERROR PNP_GetClassRegProp(); + + /******************/ + /* Function: 0x1b */ + + WERROR PNP_SetClassRegProp(); + + /******************/ + /* Function: 0x1c */ + + WERROR PNP_CreateDevInst(); + + /******************/ + /* Function: 0x1d */ + + WERROR PNP_DeviceInstanceAction(); + + /******************/ + /* Function: 0x1e */ + + WERROR PNP_GetDeviceStatus(); + + /******************/ + /* Function: 0x1f */ + + WERROR PNP_SetDeviceProblem(); + + /******************/ + /* Function: 0x20 */ + + WERROR PNP_DisableDevInst(); + + /******************/ + /* Function: 0x21 */ + + WERROR PNP_UninstallDevInst(); + + /******************/ + /* Function: 0x22 */ + + WERROR PNP_AddID(); + + /******************/ + /* Function: 0x23 */ + + WERROR PNP_RegisterDriver(); + + /******************/ + /* Function: 0x24 */ + + WERROR PNP_QueryRemove(); + + /******************/ + /* Function: 0x25 */ + + WERROR PNP_RequestDeviceEject(); + + /******************/ + /* Function: 0x26 */ + + WERROR PNP_IsDockStationPresent(); + + /******************/ + /* Function: 0x27 */ + + WERROR PNP_RequestEjectPC(); + + /******************/ + /* Function: 0x28 */ + + WERROR PNP_HwProfFlags(); + + /******************/ + /* Function: 0x29 */ + + WERROR PNP_GetHwProfInfo(); + + /******************/ + /* Function: 0x2a */ + + WERROR PNP_AddEmptyLogConf(); + + /******************/ + /* Function: 0x2b */ + + WERROR PNP_FreeLogConf(); + + /******************/ + /* Function: 0x2c */ + + WERROR PNP_GetFirstLogConf(); + + /******************/ + /* Function: 0x2d */ + + WERROR PNP_GetNextLogConf(); + + /******************/ + /* Function: 0x2e */ + + WERROR PNP_GetLogConfPriority(); + + /******************/ + /* Function: 0x2f */ + + WERROR PNP_AddResDes(); + + /******************/ + /* Function: 0x30 */ + + WERROR PNP_FreeResDes(); + + /******************/ + /* Function: 0x31 */ + + WERROR PNP_GetNextResDes(); + + /******************/ + /* Function: 0x32 */ + + WERROR PNP_GetResDesData(); + + /******************/ + /* Function: 0x33 */ + + WERROR PNP_GetResDesDataSize(); + + /******************/ + /* Function: 0x34 */ + + WERROR PNP_ModifyResDes(); + + /******************/ + /* Function: 0x35 */ + + WERROR PNP_DetectResourceLimit(); + + /******************/ + /* Function: 0x36 */ + + WERROR PNP_QueryResConfList(); + + /******************/ + /* Function: 0x37 */ + + WERROR PNP_SetHwProf(); + + /******************/ + /* Function: 0x38 */ + + WERROR PNP_QueryArbitratorFreeData(); + + /******************/ + /* Function: 0x39 */ + + WERROR PNP_QueryArbitratorFreeSize(); + + /******************/ + /* Function: 0x3a */ + + WERROR PNP_RunDetection(); + + /******************/ + /* Function: 0x3b */ + + WERROR PNP_RegisterNotification(); + + /******************/ + /* Function: 0x3c */ + + WERROR PNP_UnregisterNotification(); + + /******************/ + /* Function: 0x3d */ + + WERROR PNP_GetCustomDevProp(); + + /******************/ + /* Function: 0x3e */ + + WERROR PNP_GetVersionInternal(); + + /******************/ + /* Function: 0x3f */ + + WERROR PNP_GetBlockedDriverInfo(); + + /******************/ + /* Function: 0x40 */ + + WERROR PNP_GetServerSideDeviceInstallFlags(); } -- cgit From addc906df5d978452a363c1e48e4b78701f66676 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 17 Feb 2008 23:14:47 +0100 Subject: Fill in IDL for PNP_GetVersion (based from samba3). Guenther (This used to be commit fc438c7ad684acdfb074e5eb7a1a102a41535240) --- source3/librpc/idl/ntsvcs.idl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index 1c4850b4c3..3c38bc3b91 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -22,7 +22,9 @@ interface ntsvcs /******************/ /* Function: 0x02 */ - WERROR PNP_GetVersion(); + WERROR PNP_GetVersion( + [out,ref] uint16 *version + ); /******************/ /* Function: 0x03 */ -- cgit From 75a2503a3250f619bb1c669349ef982e85898cc2 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 17 Feb 2008 23:40:14 +0100 Subject: Fill in IDL for PNP_ValidateDeviceInstance (based on samba3). Guenther (This used to be commit 3ebece24eb7c1898963fd95b4ab4d66d3c5d1d49) --- source3/librpc/idl/ntsvcs.idl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index 3c38bc3b91..a9c41cc21e 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -44,7 +44,10 @@ interface ntsvcs /******************/ /* Function: 0x06 */ - WERROR PNP_ValidateDeviceInstance(); + WERROR PNP_ValidateDeviceInstance( + [in,ref] [string,charset(UTF16)] uint16 *devicepath, + [in] uint32 flags + ); /******************/ /* Function: 0x07 */ -- cgit From 9a1881598cd4f91485f7b44471b883ede9c3a73f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 18 Feb 2008 00:22:45 +0100 Subject: Fill in IDL PNP_GetDeviceListSize() based on samba3. Guenther (This used to be commit 9d7699cbe4ba3536d7acf8e06374e33c036a2d2a) --- source3/librpc/idl/ntsvcs.idl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index a9c41cc21e..78ac30783b 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -72,7 +72,11 @@ interface ntsvcs /******************/ /* Function: 0x0b */ - WERROR PNP_GetDeviceListSize(); + WERROR PNP_GetDeviceListSize( + [in,unique] [string,charset(UTF16)] uint16 *devicename, + [out,ref] uint32 *size, + [in] uint32 flags + ); /******************/ /* Function: 0x0c */ -- cgit From 2b141dec9819a434a4d200a39d37a7b5493c9a5c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 18 Feb 2008 01:06:08 +0100 Subject: Fill in (very unfinished) IDL for PNP_HwProfFlags. Guenther (This used to be commit 121e73aa49a95b3cdb2b680c0ee30d8308bd5988) --- source3/librpc/idl/ntsvcs.idl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index 78ac30783b..0b8f5c3e0b 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -221,7 +221,17 @@ interface ntsvcs /******************/ /* Function: 0x28 */ - WERROR PNP_HwProfFlags(); + WERROR PNP_HwProfFlags( + [in] uint32 unknown1, + [in,ref] [string,charset(UTF16)] uint16 *devicepath, + [in] uint32 unknown2, + [in,out,ref] uint32 *unknown3, + [in,out,unique] uint16 *unknown4, + [in,unique] [string,charset(UTF16)] uint16 *unknown5, + [out,unique] [string,charset(UTF16)] uint16 **unknown5a, + [in] uint32 unknown6, + [in] uint32 unknown7 + ); /******************/ /* Function: 0x29 */ -- cgit From 3870cae33cd5de849b31093d8b1ee911545ac09b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 18 Feb 2008 01:29:13 +0100 Subject: Add IDL for PNP_GetHwProfInfo. Guenther (This used to be commit 1ec619fd025cf0ba0b9af05bffa90b61e8ab0f97) --- source3/librpc/idl/ntsvcs.idl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'source3/librpc/idl/ntsvcs.idl') diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl index 0b8f5c3e0b..af0c7032da 100644 --- a/source3/librpc/idl/ntsvcs.idl +++ b/source3/librpc/idl/ntsvcs.idl @@ -236,7 +236,18 @@ interface ntsvcs /******************/ /* Function: 0x29 */ - WERROR PNP_GetHwProfInfo(); + typedef struct { + uint32 unknown1; + uint16 unknown2[160]; + uint32 unknown3; + } PNP_HwProfInfo; + + WERROR PNP_GetHwProfInfo( + [in] uint32 idx, + [in,out,ref] PNP_HwProfInfo *info, + [in] uint32 unknown1, + [in] uint32 unknown2 + ); /******************/ /* Function: 0x2a */ -- cgit 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/librpc/idl/ntsvcs.idl | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'source3/librpc/idl/ntsvcs.idl') 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