diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index dd2b01095e3..603af101bc6 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -1,7 +1,15 @@ -@ stub AddMiniIconToList -@ stub AddTagToGroupOrderListEntry -@ stub AppendStringToMultiSz -@ stub AssertFail +@ stdcall CM_Connect_MachineW(wstr ptr) CM_Connect_MachineW +@ stdcall CM_Disconnect_Machine(long) CM_Disconnect_Machine +@ stub CM_Free_Log_Conf_Handle +@ stub CM_Free_Res_Des_Handle +@ stub CM_Get_DevNode_Status_Ex +@ stub CM_Get_Device_ID_ExW +@ stub CM_Get_First_Log_Conf_Ex +@ stub CM_Get_Next_Res_Des_Ex +@ stub CM_Get_Res_Des_Data_Ex +@ stub CM_Get_Res_Des_Data_Size_Ex +@ stub CM_Locate_DevNode_ExW +@ stub CM_Reenumerate_DevNode_Ex @ stub CaptureAndConvertAnsiArg @ stub CaptureStringArg @ stub CenterWindowRelativeToParent @@ -72,18 +80,22 @@ @ stub SetupDestroyDiskSpaceList @ stub SetupDiAskForOEMDisk @ stub SetupDiBuildClassInfoList +@ stdcall SetupDiBuildClassInfoListExW(long ptr long ptr wstr ptr) SetupDiBuildClassInfoListExW @ stub SetupDiBuildDriverInfoList @ stub SetupDiCallClassInstaller @ stub SetupDiCancelDriverInfoSearch @ stub SetupDiChangeState @ stub SetupDiClassGuidsFromNameA +@ stdcall SetupDiClassGuidsFromNameExW(wstr ptr long ptr wstr ptr) SetupDiClassGuidsFromNameExW @ stub SetupDiClassGuidsFromNameW @ stub SetupDiClassNameFromGuidA +@ stdcall SetupDiClassNameFromGuidExW(ptr ptr long ptr wstr ptr) SetupDiClassNameFromGuidExW @ stub SetupDiClassNameFromGuidW @ stub SetupDiCreateDevRegKeyA @ stub SetupDiCreateDevRegKeyW @ stub SetupDiCreateDeviceInfoA @ stub SetupDiCreateDeviceInfoList +@ stdcall SetupDiCreateDeviceInfoListExW(ptr ptr) SetupDiCreateDeviceInfoListExW @ stub SetupDiCreateDeviceInfoW @ stub SetupDiDeleteDevRegKey @ stub SetupDiDeleteDeviceInfo @@ -99,16 +111,19 @@ @ stub SetupDiGetActualSectionToInstallW @ stub SetupDiGetClassBitmapIndex @ stub SetupDiGetClassDescriptionA +@ stdcall SetupDiGetClassDescriptionExW(ptr ptr long ptr wstr ptr) SetupDiGetClassDescriptionExW @ stub SetupDiGetClassDescriptionW @ stub SetupDiGetClassDevPropertySheetsA @ stub SetupDiGetClassDevPropertySheetsW @ stdcall SetupDiGetClassDevsA(ptr ptr long long) SetupDiGetClassDevsA +@ stdcall SetupDiGetClassDevsExW(ptr wstr ptr long ptr wstr ptr) SetupDiGetClassDevsExW @ stdcall SetupDiGetClassDevsW(ptr ptr long long) SetupDiGetClassDevsW @ stub SetupDiGetClassImageIndex @ stub SetupDiGetClassImageList @ stub SetupDiGetClassInstallParamsA @ stub SetupDiGetClassInstallParamsW @ stub SetupDiGetDeviceInfoListClass +@ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr) SetupDiGetDeviceInfoListDetailW @ stub SetupDiGetDeviceInstallParamsA @ stub SetupDiGetDeviceInstallParamsW @ stub SetupDiGetDeviceInstanceIdA @@ -138,6 +153,7 @@ @ stub SetupDiLoadClassIcon @ stub SetupDiMoveDuplicateDevice @ stub SetupDiOpenClassRegKey +@ stdcall SetupDiOpenClassRegKeyExW(ptr long long wstr ptr) SetupDiOpenClassRegKeyExW @ stub SetupDiOpenDevRegKey @ stub SetupDiOpenDeviceInfoA @ stub SetupDiOpenDeviceInfoW @@ -293,6 +309,9 @@ @ stub TakeOwnershipOfFile @ stub UnicodeToMultiByte @ stub UnmapAndCloseFile +@ stub pSetupAddMiniIconToList +@ stub pSetupAddTagToGroupOrderListEntry +@ stub pSetupAppendStringToMultiSz @ stub pSetupDirectoryIdToPath @ stub pSetupGetField @ stub pSetupGetOsLoaderDriveAndPath diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index fd4117b572b..4f4152ad7e3 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -64,3 +64,62 @@ DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 ) FIXME( "%x %x: stub\n", w1, w2 ); return 0; } + +/*WINAPI in description not given*/ +HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID class, DWORD access, DWORD flags, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return INVALID_HANDLE_VALUE; +} + +BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return FALSE; +} + +BOOL WINAPI SetupDiClassNameFromGuidExW (GUID* class, LPCWSTR desc, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return FALSE; +} + +BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return FALSE; +} +BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA devinfo_data ) +{ + FIXME("\n"); + return FALSE; +} +HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID class, HWND parend, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return FALSE; +} +/* NO WINAPI in description given*/ +HDEVINFO WINAPI SetupDiGetClassDevsExW(LPGUID class, LPCWSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return FALSE; +} +BOOL WINAPI SetupDiClassGuidsFromNameExW(LPCWSTR class, LPGUID list, DWORD size, PDWORD required, LPCWSTR machine, PVOID reserved) +{ + FIXME("\n"); + return FALSE; +} +DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine) +{ +#define CR_SUCCESS 0x00000000 +#define CR_ACCESS_DENIED 0x00000033 + FIXME("\n"); + return CR_ACCESS_DENIED; +} +DWORD WINAPI CM_Disconnect_Machine(DWORD handle) +{ + FIXME("\n"); + return CR_SUCCESS; + +}