Skip to content

Latest commit

 

History

History
94 lines (68 loc) · 2.66 KB

nf-wingdi-deletemetafile.md

File metadata and controls

94 lines (68 loc) · 2.66 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wingdi.DeleteMetaFile
DeleteMetaFile function (wingdi.h)
The DeleteMetaFile function deletes a Windows-format metafile or Windows-format metafile handle.
DeleteMetaFile
DeleteMetaFile function [Windows GDI]
_win32_DeleteMetaFile
gdi.deletemetafile
wingdi/DeleteMetaFile
gdi\deletemetafile.htm
gdi
51766282-f185-4e29-a36e-1069d9d61f7c
12/05/2018
DeleteMetaFile, DeleteMetaFile function [Windows GDI], _win32_DeleteMetaFile, gdi.deletemetafile, wingdi/DeleteMetaFile
wingdi.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdi32.lib
Gdi32.dll
Windows
19H1
DeleteMetaFile
wingdi/DeleteMetaFile
c++
APIRef
kbSyntax
DllExport
gdi32.dll
Ext-MS-Win-GDI-Metafile-l1-1-0.dll
Ext-MS-Win-GDI-Metafile-l1-1-1.dll
ext-ms-win-gdi-metafile-l1-1-2.dll
GDI32Full.dll
DeleteMetaFile

DeleteMetaFile function

-description

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.
 

-parameters

-param hmf [in]

A handle to a Windows-format metafile.

-returns

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.

-see-also

CopyMetaFile

CreateMetaFile

DeleteEnhMetaFile

Metafile Functions

Metafiles Overview