Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWinApp::LoadOEMIcon
CWinApp                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  HICON LoadOEMIcon( UINT nIDIcon );
 
  Parameter   Description
 
  <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
 
 
                                     -♦-