CWinApp::LoadOEMIcon

Syntax

HICON LoadOEMIcon( UINT nIDIcon );

Parameters

nIDIcon

An OIC_ manifest constant identifier that specifies a predefined Windows icon. You must have #define OEMRESOURCE in your source file to get access to the OIC_ constants in WINDOWS.H.

Remarks

Loads the Windows predefined icon resource specified by nIDIcon.

Use LoadOEMIcon or the LoadStandardIcon member function to access the predefined Windows icons.

Return Value

A handle to an icon resource. If unsuccessful, returns NULL.

See Also

CWinApp::LoadStandardIcon, CWinApp::LoadIcon, ::LoadIcon