diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index ed917747480..92261d58eb7 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -342,8 +342,8 @@ @ stub SetupDiGetHwProfileList @ stub SetupDiGetHwProfileListExA @ stub SetupDiGetHwProfileListExW -@ stub SetupDiGetINFClassA -@ stub SetupDiGetINFClassW +@ stdcall SetupDiGetINFClassA(str ptr ptr long ptr) +@ stdcall SetupDiGetINFClassW(wstr ptr ptr long ptr) @ stub SetupDiGetSelectedDevice @ stub SetupDiGetSelectedDriverA @ stub SetupDiGetSelectedDriverW @@ -509,8 +509,8 @@ @ stdcall SetupSetFileQueueFlags(long long long) @ stub SetupSetPlatformPathOverrideA @ stub SetupSetPlatformPathOverrideW -@ stub SetupSetSourceListA -@ stub SetupSetSourceListW +@ stdcall SetupSetSourceListA(long ptr long) +@ stdcall SetupSetSourceListW(long ptr long) @ stdcall SetupTermDefaultQueueCallback(ptr) @ stdcall SetupTerminateFileLog(long) @ stub ShouldDeviceBeExcluded diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 1ab79da47d0..dbde71c381c 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -209,3 +209,41 @@ INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only ) FIXME("%p, %p, %d\n", file_queue, owner, scan_only); return 0; } + +/*********************************************************************** + * SetupSetSourceListA (SETUPAPI.@) + */ +BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count) +{ + FIXME("0x%08x %p %d\n", flags, list, count); + return FALSE; +} + +/*********************************************************************** + * SetupSetSourceListW (SETUPAPI.@) + */ +BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count) +{ + FIXME("0x%08x %p %d\n", flags, list, count); + return FALSE; +} + +/*********************************************************************** + * SetupDiGetINFClassA (SETUPAPI.@) + */ +BOOL WINAPI SetupDiGetINFClassA(PCSTR inf, LPGUID class_guid, PSTR class_name, + DWORD size, PDWORD required_size) +{ + FIXME("%s %p %p %d %p\n", debugstr_a(inf), class_guid, class_name, size, required_size); + return FALSE; +} + +/*********************************************************************** + * SetupDiGetINFClassW (SETUPAPI.@) + */ +BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name, + DWORD size, PDWORD required_size) +{ + FIXME("%s %p %p %d %p\n", debugstr_w(inf), class_guid, class_name, size, required_size); + return FALSE; +} diff --git a/include/setupapi.h b/include/setupapi.h index 7fd1099442a..1815324d978 100644 --- a/include/setupapi.h +++ b/include/setupapi.h @@ -777,6 +777,9 @@ BOOL WINAPI SetupDiGetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_D BOOL WINAPI SetupDiGetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W); #define SetupDiGetDeviceInstallParams WINELIB_NAME_AW(SetupDiGetDeviceInstallParams) BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD); +BOOL WINAPI SetupDiGetINFClassA(PCSTR, LPGUID, PSTR, DWORD, PDWORD); +BOOL WINAPI SetupDiGetINFClassW(PCWSTR, LPGUID, PWSTR, DWORD, PDWORD); +#define SetupDiGetINFClass WINELIB_NAME_AW(SetupDiGetINFClass) BOOL WINAPI SetupDiInstallClassA(HWND, PCSTR, DWORD, HSPFILEQ); BOOL WINAPI SetupDiInstallClassW(HWND, PCWSTR, DWORD, HSPFILEQ); #define SetupDiInstallClass WINELIB_NAME_AW(SetupDiInstallClass) @@ -892,6 +895,9 @@ BOOL WINAPI SetupSetFileQueueAlternatePlatformA( HSPFILEQ, PSP_ALTPLATFORM_I BOOL WINAPI SetupSetFileQueueAlternatePlatformW( HSPFILEQ, PSP_ALTPLATFORM_INFO, PCWSTR ); #define SetupSetFileQueueAlternatePlatform WINELIB_NAME_AW(SetupSetFileQueueAlternatePlatform) BOOL WINAPI SetupSetFileQueueFlags( HSPFILEQ, DWORD, DWORD ); +BOOL WINAPI SetupSetSourceListA(DWORD, PCSTR *, UINT); +BOOL WINAPI SetupSetSourceListW(DWORD, PCWSTR *, UINT); +#define SetupSetSourceList WINELIB_NAME_AW(SetupSetSourceList) void WINAPI SetupTermDefaultQueueCallback( PVOID ); DWORD WINAPI StampFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR); DWORD WINAPI TakeOwnershipOfFile(PCWSTR);