#include <nwapp.h>HICON NWAPPGetIconFromHandle (HINSTANCE hInst, NWFILE_HANDLE fileHandle);
If successful, NWAPPGetIconFromHandle returns a handle to an icon. Otherwise it returns NULL.
Only the first icon in the given file is read. To modify NWAPPGetIconFromHandle to read in all the icons in a .ICO file, you must read in the entire icon resource directory and identify the bits to each icon.
NetWare Application Launcher (NAL) Services