NWAPPReadIcon(3nw)
NWAPPReadIcon --
reads an icon resource file and extracts the DIB information
Synopsis
#include <nwapp.h>
HANDLE NWAPPReadIcon
(pnstr8 iconData,
nuint32 cbIconData);
Description
The parameters are as follows:
- iconData
-
(IN) Points to the icon resource file to read.
- cbIconData
-
(IN) Specifies the number of bytes to which iconData points.
Return values
If successful, NWAPPReadIcon returns a handle to a DIB. Otherwise, it returns NULL.
Notices
Only the first icon in a given file is read. To modify NWAPPReadIcon to read in 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),
NWAPPReadIconFile(3nw),
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.