# Function Reference

# _WinAPI_GetEnhMetaFile

Creates a handle that identifies the enhanced-format metafile stored in the specified file

#include <WinAPIGdi.au3>
_WinAPI_GetEnhMetaFile ( $sFilePath )

## Parameters

$sFilePath | The name of an enhanced metafile (.emf).

## Return Value

Success: | Handle to the enhanced metafile.
Failure: | 0.

## Remarks

When the application no longer needs an enhanced-metafile handle, it should delete the handle by calling the
_WinAPI_DeleteEnhMetaFile() function.

## Related

_WinAPI_DeleteEnhMetaFile

## See Also

Search GetEnhMetaFile in MSDN Library.