Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DeleteMetaFile function deletes a Windows-format metafile or Windows-format metafile handle.
Syntax
BOOL DeleteMetaFile(
[in] HMETAFILE hmf
);
Parameters
[in] hmf
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wingdi.h (include Windows.h) |
Library | Gdi32.lib |
DLL | Gdi32.dll |