NWAPPGetIconFromHandle(3nw)


NWAPPGetIconFromHandle -- reads an icon from a binary file

Synopsis

   #include <nwapp.h> 
   

HICON NWAPPGetIconFromHandle (HINSTANCE hInst, NWFILE_HANDLE fileHandle);

Description

The parameters are as follows:

hInst
(IN) Specifies a handle to a module or application instance.

fileHandle
(IN) Specifies the handle of the binary file to read.

Return values

If successful, NWAPPGetIconFromHandle returns a handle to an icon. Otherwise it returns NULL.

Notices

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.

Services

NetWare Application Launcher (NAL) Services

References

NWAPPReadIcon(3nw), NWAPPReadIconFile(3nw),


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.