From f7fb73710a72a4b1b73b8a55fa4905f26665eb2c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 19 Jan 2005 16:57:24 +0000 Subject: [PATCH] Authors: Mike McCormack , Aric Stewart , Mike McCormack Added some stub implementations. --- dlls/setupapi/devinst.c | 54 +++++++++++++++++++++++++++++++++++++ dlls/setupapi/setupapi.spec | 10 ++++--- 2 files changed, 60 insertions(+), 4 deletions(-) diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index d6b37fad0fa..da423c9d504 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -1151,3 +1151,57 @@ BOOL WINAPI SetupDiOpenDeviceInterfaceA( debugstr_a(DevicePath), OpenFlags, DeviceInterfaceData); return FALSE; } + +/*********************************************************************** + * SetupDiSetClassInstallParamsA (SETUPAPI.@) + */ +BOOL WINAPI SetupDiSetClassInstallParamsA( + HDEVINFO DeviceInfoSet, + PSP_DEVINFO_DATA DeviceInfoData, + PSP_CLASSINSTALL_HEADER ClassInstallParams, + DWORD ClassInstallParamsSize) +{ + FIXME("%p %p %x %lu\n",DeviceInfoSet, DeviceInfoData, + ClassInstallParams->InstallFunction, ClassInstallParamsSize); + return FALSE; +} + +/*********************************************************************** + * SetupDiCallClassInstaller (SETUPAPI.@) + */ +BOOL WINAPI SetupDiCallClassInstaller( + DWORD InstallFunction, + HDEVINFO DeviceInfoSet, + PSP_DEVINFO_DATA DeviceInfoData) +{ + FIXME("%ld %p %p\n", InstallFunction, DeviceInfoSet, DeviceInfoData); + return FALSE; +} + +/*********************************************************************** + * SetupDiGetDeviceInstallParamsA (SETUPAPI.@) + */ +BOOL WINAPI SetupDiGetDeviceInstallParamsA( + HDEVINFO DeviceInfoSet, + PSP_DEVINFO_DATA DeviceInfoData, + PSP_DEVINSTALL_PARAMS_A DeviceInstallParams) +{ + FIXME("%p %p %p\n", DeviceInfoSet, DeviceInfoData, DeviceInstallParams); + return FALSE; +} + +/*********************************************************************** + * SetupDiOpenDevRegKey (SETUPAPI.@) + */ +HKEY WINAPI SetupDiOpenDevRegKey( + HDEVINFO DeviceInfoSet, + PSP_DEVINFO_DATA DeviceInfoData, + DWORD Scope, + DWORD HwProfile, + DWORD KeyType, + REGSAM samDesired) +{ + FIXME("%p %p %ld %ld %ld %lx\n", DeviceInfoSet, DeviceInfoData, + Scope, HwProfile, KeyType, samDesired); + return INVALID_HANDLE_VALUE; +} diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 204001f98ab..83b17884285 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -97,6 +97,8 @@ @ stub CM_Get_Device_Interface_List_SizeW @ stub CM_Get_Device_Interface_List_Size_ExA @ stub CM_Get_Device_Interface_List_Size_ExW +@ stub CM_Request_Device_EjectA +@ stub CM_Request_Device_EjectW @ stub CM_Get_First_Log_Conf @ stub CM_Get_First_Log_Conf_Ex @ stub CM_Get_Global_State @@ -267,7 +269,7 @@ @ stdcall SetupDiBuildClassInfoListExA(long ptr long ptr str ptr) @ stdcall SetupDiBuildClassInfoListExW(long ptr long ptr wstr ptr) @ stub SetupDiBuildDriverInfoList -@ stub SetupDiCallClassInstaller +@ stdcall SetupDiCallClassInstaller(long ptr ptr) @ stub SetupDiCancelDriverInfoSearch @ stub SetupDiChangeState @ stdcall SetupDiClassGuidsFromNameA(str ptr long ptr) @@ -319,7 +321,7 @@ @ stub SetupDiGetDeviceInfoListClass @ stdcall SetupDiGetDeviceInfoListDetailA(ptr ptr) @ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr) -@ stub SetupDiGetDeviceInstallParamsA +@ stdcall SetupDiGetDeviceInstallParamsA(ptr ptr ptr) @ stub SetupDiGetDeviceInstallParamsW @ stub SetupDiGetDeviceInstanceIdA @ stub SetupDiGetDeviceInstanceIdW @@ -356,7 +358,7 @@ @ stdcall SetupDiOpenClassRegKey(ptr long) @ stdcall SetupDiOpenClassRegKeyExA(ptr long long str ptr) @ stdcall SetupDiOpenClassRegKeyExW(ptr long long wstr ptr) -@ stub SetupDiOpenDevRegKey +@ stdcall SetupDiOpenDevRegKey(ptr ptr long long long long) @ stub SetupDiOpenDeviceInfoA @ stub SetupDiOpenDeviceInfoW @ stdcall SetupDiOpenDeviceInterfaceA(ptr str long ptr) @@ -367,7 +369,7 @@ @ stub SetupDiRemoveDeviceInterface @ stub SetupDiSelectDevice @ stub SetupDiSelectOEMDrv -@ stub SetupDiSetClassInstallParamsA +@ stdcall SetupDiSetClassInstallParamsA(ptr ptr ptr long) @ stub SetupDiSetClassInstallParamsW @ stub SetupDiSetDeviceInstallParamsA @ stub SetupDiSetDeviceInstallParamsW