HICON LoadStandardIcon( LPSTR lpIconName );
lpIconName
A manifest constant identifier that specifies a predefined Windows icon. These identifiers are defined in WINDOWS.H. The following list shows the possible predefined values for lpIconName:
Value | Meaning |
IDI_APPLICATION | Default application icon |
IDI_HAND | Hand-shaped icon used in serious warning messages |
IDI_QUESTION | Question mark shape used in prompting messages |
IDI_EXCLAMATION | Exclamation point shape used in warning messages |
IDI_ASTERISK | Asterisk shape used in informative messages |
Loads the Windows predefined icon resource specified by lpIconName.
Use LoadStandardIcon or the LoadOEMIcon member function to access the predefined icons used by Windows.
A handle to an icon resource (a bitmap defining the icon). If unsuccessful, returns NULL.
CWinApp::LoadOEMIcon, CWinApp::LoadIcon, ::LoadIcon