From 3c6fc166a2fad27faf1e9cbf7a61e04b18b24961 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 20 Sep 2007 18:29:17 -0700 Subject: [PATCH] Add stubs for SetupDiCreateDeviceInterfaceA/W --- dlls/setupapi/devinst.c | 38 ++++++++++++++++++++++++++++++++++++++ dlls/setupapi/setupapi.spec | 2 ++ 2 files changed, 40 insertions(+), 0 deletions(-) diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index 963f57a..d92f0f3 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -1807,6 +1807,44 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW( } /*********************************************************************** + * SetupDiCreateDeviceInterfaceA (SETUPAPI.@) + */ +BOOL WINAPI SetupDiCreateDeviceInterfaceA( + HDEVINFO DeviceInfoSet, + PSP_DEVINFO_DATA DeviceInfoData, + const GUID *InterfaceClassGuid, + PCSTR ReferenceString, + DWORD CreationFlags, + PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData) +{ + TRACE("%p %p %s %s %08x %p\n", DeviceInfoSet, DeviceInfoData, + debugstr_guid(InterfaceClassGuid), debugstr_a(ReferenceString), + CreationFlags, DeviceInterfaceData); + + FIXME("stub\n"); + return FALSE; +} + +/*********************************************************************** + * SetupDiCreateDeviceInterfaceW (SETUPAPI.@) + */ +BOOL WINAPI SetupDiCreateDeviceInterfaceW( + HDEVINFO DeviceInfoSet, + PSP_DEVINFO_DATA DeviceInfoData, + const GUID *InterfaceClassGuid, + PCWSTR ReferenceString, + DWORD CreationFlags, + PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData) +{ + TRACE("%p %p %s %s %08x %p\n", DeviceInfoSet, DeviceInfoData, + debugstr_guid(InterfaceClassGuid), debugstr_w(ReferenceString), + CreationFlags, DeviceInterfaceData); + + FIXME("stub\n"); + return FALSE; +} + +/*********************************************************************** * SetupDiEnumDeviceInterfaces (SETUPAPI.@) */ BOOL WINAPI SetupDiEnumDeviceInterfaces( diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 7f8b3dd..439c95c 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -288,6 +288,8 @@ # Yes, Microsoft really misspelled this @ stdcall SetupDiCreateDeviceInfoListExA(ptr long str ptr) @ stdcall SetupDiCreateDeviceInfoListExW(ptr long str ptr) @ 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) @ stub SetupDiDeleteDevRegKey @ stub SetupDiDeleteDeviceInfo @ stub SetupDiDeleteDeviceInterfaceData -- 1.4.1