#include "BIDIB.H"
HBITMAP CALLBACK LoadMetaFileIntoBitmap(LPTSTR lpszFileName)
Description
Draw the metafile into the bitmap.
Parameters
|
LPTSTR |
lpszFileName; |
File name to be loaded. |
Additional Information
This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.
Return values
Return a handle to the device dependent bitmap if successful or NULL if fails.
Programming notes
None.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.
Code example
#include "BIDIB.H"
switch(nFormatID) {
.
.
.
case METAFILE_FORMAT:
hCurrentBitmap = LoadMetaFileIntoBitmap(szFileName);
break;
.
.