#include "BIDIB.H"
BOOL CALLBACK SaveDIBIntoMetaFile( LPTSTR lpszFileName,
HANDLE hDIB)
Description
Save the device independent bitmap in the metafile format.
Parameters
|
LPTSTR |
lpszFileName; |
Metafile name. |
|
HANDLE |
hDIB; |
DIB to be stored. |
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
TRUE - successful.
FALSE - failed.
Programming notes
None.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.
Code example
#include "BIDIB.H"
// save bitmap in formats
switch(nFormatID) {
.
.
.
case METAFILE_FORMAT:
return SaveDIBIntoMetaFile(szFileName, hDIB);
break;
.
.
.