GxFpga3571LoadFile

Purpose

Loads the video memory with data from the specified bitmap file.

Syntax

GxFpga3571LoadFromBMPFile (nHandle, szFileName, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX3500 board.
szFilename
LPCSTR
Pointer to a null-terminated string that specifies the name of the BMP file to be loaded in video memory.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function expects the bitmap file to be 640 pixels by 480 pixels.

Example

The following example loads the image data from “image.bmp” to the Gx3571’s video memory:

 

GxFpga3571LoadFile (nHandle, “image.bmp”, &nStatus);

 

See Also

GxFpga3571LoadArray, GxFpga3571LoadFile, GxFpgaGetErrorString