NWAPPReadIconFile(3nw)


NWAPPReadIconFile -- reads an icon resource file and creates an icon based on that information

Synopsis

   #include <nwapp.h> 
   

HICON NWAPPReadIconFile (HINSTANCE hInst, pnstr8 szFileName);

Description

The parameters are as follows:

hInst
(IN) Specifies a handle of a module or applicaiton instance.

szFileName
(IN) Points to the icon resource file to read.

Return values

If successful, NWAPPReadIconFile returns a handle to a newly created icon. Otherwise, it returns NULL.

Notices

Only the first icon in a given file is read. To modify NWAPPReadIconFile to read all the icons in an .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

NWAPPGetIconFromHandle(3nw), NWAPPReadIcon(3nw),


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