I am searching through the registry and I want to load certain icons to a HICON. I found the following:
I want to load it into a HICON, I tried:
HICON hIcon = (HICON)LoadImage (NULL, _T("shell32.dll,-152"), IMAGE_ICON, 0, 0, LR_DEFAULTSIZE | LR_LOADFROMFILE);
The return value is NULL. How can I load the icon?