From 520fe4b055d5770ee239a6bd02178b45da512b5f Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sat, 26 Nov 2005 16:54:15 +0000 Subject: [PATCH] add stub for SetupDiLoadClassIcon svn path=/trunk/; revision=19645 --- reactos/lib/setupapi/setupapi.spec | 2 +- reactos/lib/setupapi/stubs.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/reactos/lib/setupapi/setupapi.spec b/reactos/lib/setupapi/setupapi.spec index f5024afb594..3426807e074 100644 --- a/reactos/lib/setupapi/setupapi.spec +++ b/reactos/lib/setupapi/setupapi.spec @@ -354,7 +354,7 @@ @ stdcall SetupDiInstallDevice(ptr ptr) @ stdcall SetupDiInstallDeviceInterfaces(ptr ptr) @ stdcall SetupDiInstallDriverFiles(ptr ptr) -@ stub SetupDiLoadClassIcon +@ stdcall SetupDiLoadClassIcon(ptr ptr ptr) @ stub SetupDiMoveDuplicateDevice @ stdcall SetupDiOpenClassRegKey(ptr long) @ stdcall SetupDiOpenClassRegKeyExA(ptr long long str ptr) diff --git a/reactos/lib/setupapi/stubs.c b/reactos/lib/setupapi/stubs.c index fa05d73939b..886340021df 100644 --- a/reactos/lib/setupapi/stubs.c +++ b/reactos/lib/setupapi/stubs.c @@ -255,3 +255,13 @@ BOOL WINAPI SetupDiGetClassDevPropertySheetsW(HDEVINFO DeviceInfoSet, PSP_DEVINF SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } + +/*********************************************************************** + * SetupDiLoadClassIcon(SETUPAPI.@) + */ +BOOL WINAPI SetupDiLoadClassIcon(CONST GUID *ClassGuid, HICON *LargeIcon, PINT MiniIconIndex) +{ + FIXME ("Stub %p %p %p\n", ClassGuid, LargeIcon, MiniIconIndex); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}