Group: Metafile - Library: gdi32
The DeleteEnhMetaFile function deletes an enhanced-format metafile or an enhanced-format metafile handle.
Storing screen shot of a form to enhanced metafile (*.emf)
How to display picture stored in enhanced-format metafile (*.emf)
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print picture stored in enhanced-format metafile (*.emf)
How to print FoxPro form -- II
BOOL DeleteEnhMetaFile(
HENHMETAFILE hemf // handle to an enhanced metafile
);
DECLARE INTEGER DeleteEnhMetaFile IN gdi32;
INTEGER hemf
hemf [in] Handle to an enhanced metafile.
If the function succeeds, the return value is nonzero.
If the hemf parameter identifies an enhanced metafile stored in memory, the DeleteEnhMetaFile function deletes the metafile.
If hemf identifies a metafile stored on a disk, the function deletes the metafile handle but does not destroy the actual metafile. An application can retrieve the file by calling the GetEnhMetaFile function.