The default icon in Vista is listed under:
HKEY_CLASSES_ROOT Unknown DefaultIcon
As:
%SystemRoot%System32shell32.dll,0
I want to load a 48x48 version of that Icon in C++. I have tried:
hIcon = (HICON)::LoadImage(hmShell32, MAKEINTRESOURCE(0), IMAGE_ICON, 48, 48, LR_DEFAULTCOLOR);
However I get back a NULL hIcon and when I call ::GetLastError() it returns: ERROR_RESOURCE_TYPE_NOT_FOUND
How do I load the default icon out of Shell32.dll?
Thanks in advance, Wayne Walter Berry
{6230289B-5BEE-409e-932A-2F01FA407A92}