diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 02955325ba0..25639f530d7 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -304,7 +304,7 @@ @ stdcall SetupDiDestroyClassImageList(ptr) @ stdcall SetupDiDestroyDeviceInfoList(long) @ stub SetupDiDestroyDriverInfoList -@ stub SetupDiDrawMiniIcon +@ stdcall SetupDiDrawMiniIcon(ptr int128 long long) @ stdcall SetupDiEnumDeviceInfo(long long ptr) @ stdcall SetupDiEnumDeviceInterfaces(long ptr ptr long ptr) @ stub SetupDiEnumDriverInfoA diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 8a7820e3377..f53b3adc04e 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -436,6 +436,17 @@ BOOL WINAPI SetupDiDeleteDeviceInfo(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA Dev return FALSE; } +/*********************************************************************** + * SetupDiDrawMiniIcon (SETUPAPI.@) + */ +INT WINAPI SetupDiDrawMiniIcon(HDC hdc, RECT rc, INT MiniIconIndex, DWORD Flags) +{ + FIXME("(%p, %s, %d, %x) stub\n", hdc, wine_dbgstr_rect(&rc), MiniIconIndex, Flags); + + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + /*********************************************************************** * SetupDiGetClassBitmapIndex (SETUPAPI.@) */