Supported Browsers Home   
MGL_loadBitmap Previous   
MGL_loadBitmapIntoDC Next   
External Functions Up   

MGL_loadBitmapExt

Locates an open bitmap and loads it into memory from an open file.

Declaration

bitmap_t * MGLAPI MGL_loadBitmapExt(
    FILE *f,
    ulong dwOffset,
    ulong dwSize,
    ibool loadPalette)

Prototype In

mgraph.h

Parameters

f

Open binary file to read data from

dwOffset

Offset to start of bitmap in file

dwSize

Size of the file

loadPalette

Should we load the palette values as well?

 

Return Value

Pointer to the loaded bitmap file

Description

This function is the same as MGL_loadBitmap, however it loads the file from a previously open file. This allows you to create your own large files with multiple files embedded in them.

See Also

MGL_loadBitmap, MGL_loadBitmapIntoDC

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