From 244c83da2dc0d345507478ea48c018435d971315 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Fri, 21 Sep 2007 17:05:48 -0700 Subject: [PATCH] Add stubs for SetupDiCreateDeviceInterfaceRegKeyA/W --- dlls/setupapi/devinst.c | 32 ++++++++++++++++++++++++++++++++ dlls/setupapi/setupapi.spec | 2 ++ 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index 48eda1f..6c2f594 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -2161,6 +2161,38 @@ BOOL WINAPI SetupDiCreateDeviceInterface } /*********************************************************************** + * SetupDiCreateDeviceInterfaceRegKeyA (SETUPAPI.@) + */ +HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyA( + HDEVINFO DeviceInfoSet, + PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, + DWORD Reserved, + REGSAM samDesired, + HINF InfHandle, + PCSTR InfSectionName) +{ + FIXME("%p %p %d %08x %p %p\n", DeviceInfoSet, DeviceInterfaceData, Reserved, + samDesired, InfHandle, InfSectionName); + return INVALID_HANDLE_VALUE; +} + +/*********************************************************************** + * SetupDiCreateDeviceInterfaceRegKeyW (SETUPAPI.@) + */ +HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW( + HDEVINFO DeviceInfoSet, + PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, + DWORD Reserved, + REGSAM samDesired, + HINF InfHandle, + PCWSTR InfSectionName) +{ + FIXME("%p %p %d %08x %p %p\n", DeviceInfoSet, DeviceInterfaceData, Reserved, + samDesired, InfHandle, InfSectionName); + return INVALID_HANDLE_VALUE; +} + +/*********************************************************************** * SetupDiEnumDeviceInterfaces (SETUPAPI.@) * * PARAMS diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 439c95c..5ba940e 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -290,6 +290,8 @@ # Yes, Microsoft really misspelled this @ stdcall SetupDiCreateDeviceInfoW(long wstr ptr wstr long long ptr) @ stdcall SetupDiCreateDeviceInterfaceA(ptr ptr ptr str long ptr) @ stdcall SetupDiCreateDeviceInterfaceW(ptr ptr ptr wstr long ptr) +@ stdcall SetupDiCreateDeviceInterfaceRegKeyA(ptr ptr long long ptr ptr) +@ stdcall SetupDiCreateDeviceInterfaceRegKeyW(ptr ptr long long ptr ptr) @ stub SetupDiDeleteDevRegKey @ stub SetupDiDeleteDeviceInfo @ stub SetupDiDeleteDeviceInterfaceData -- 1.4.1