Supported Browsers Home   
MGL_loadIcon Previous   
MGL_loadJPEG Next   
External Functions Up   

MGL_loadIconExt

Load an icon file from disk from an open file.

Declaration

icon_t * MGLAPI MGL_loadIconExt(
    FILE *f,
    ulong dwOffset,
    ulong dwSize,
    ibool loadPalette)

Prototype In

mgraph.h

Parameters

f

Pointer to open icon file

dwOffset

Offset into the icon file

dwSize

Size of the icon file

loadPalette

If true, the palette is loaded as well

 

Return Value

Pointer to the loaded icon file.

Description

This function is the same as MGL_loadIcon, however it works with a previously opened file. This allows you to create your own large files with multiple files embedded in them.

See Also

MGL_loadIcon

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com