gflLoadBitmapIntoDIB
The gflLoadBitmapIntoDIB function load a picture file into a Windows Device Independant Bitmap.
GFL_ERROR gflLoadBitmapIntoDIB( const char * filename, HANDLE * hDIB, GFL_LOAD_PARAMS * params, GFL_FILE_INFORMATION * informations );
Parameters
- filename
- Pointer to a null-terminated string that contains the filename to load.
- hDIB
- Address of a DIB HANDLE.
- params
-
Pointer to a GFL_LOAD_PARAMS structure.
This structure must be filled correctly. - informations
-
Pointer to a GFL_FILE_INFORMATION structure. Can be NULL if you don't want it.
You must use gflFreeInformation to free his content.
Return value
The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.
See also