Group: Metafile - Library: gdi32
The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.
Storing screen shot of a form to enhanced metafile (*.emf)
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print FoxPro form -- II
HENHMETAFILE CloseEnhMetaFile(
HDC hdc // handle to enhanced-metafile DC
);
DECLARE INTEGER CloseEnhMetaFile IN gdi32;
INTEGER hdc
hdc [in] Handle to an enhanced-metafile device context.
If the function succeeds, the return value is a handle to an enhanced metafile.
When the application no longer needs the enhanced metafile handle, it should release the handle by calling the DeleteEnhMetaFile function.