DeleteMetaFile function
Applies to: desktop apps only
The DeleteMetaFile function deletes a Windows-format metafile or Windows-format metafile handle.
Note This function is provided only for compatibility with Windows-format metafiles. Enhanced-format metafiles provide superior functionality and are recommended for new applications. The corresponding function for an enhanced-format metafile is DeleteEnhMetaFile.
Syntax
BOOL DeleteMetaFile( __in HMETAFILE hmf );
Parameters
- hmf [in]
-
A handle to a Windows-format metafile.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
If the metafile identified by the hmf parameter is stored in memory (rather than on a disk), its content is lost when it is deleted by using the DeleteMetaFile function.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012