From aaf4ce8ac6d70f19b6bce495d1b580acb61c1c69 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 28 Jul 2010 16:24:47 +0200 Subject: [PATCH] setupapi: Add a stub for SetupDiLoadClassIcon. --- dlls/setupapi/setupapi.spec | 2 +- dlls/setupapi/stubs.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 6de75b175a5..1b43bb996bd 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -363,7 +363,7 @@ @ stdcall SetupDiInstallClassW(long wstr long ptr) @ stub SetupDiInstallDevice @ stub SetupDiInstallDriverFiles -@ stub SetupDiLoadClassIcon +@ stdcall SetupDiLoadClassIcon(ptr ptr ptr) @ stub SetupDiMoveDuplicateDevice @ stdcall SetupDiOpenClassRegKey(ptr long) @ stdcall SetupDiOpenClassRegKeyExA(ptr long long str ptr) diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 264a89097c5..a37d6891078 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -417,3 +417,14 @@ BOOL WINAPI SetupDiDeleteDeviceInfo(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA Dev SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } + +/*********************************************************************** + * SetupDiLoadClassIcon (SETUPAPI.@) + */ +BOOL WINAPI SetupDiLoadClassIcon(const GUID *ClassGuid, HICON *LargeIcon, PINT MiniIconIndex) +{ + FIXME(": stub %s, %p, %p\n", debugstr_guid(ClassGuid), LargeIcon, MiniIconIndex); + + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}