# Function Reference

# _WinAPI_GetEnhMetaFileHeader

Retrieves the record containing the header for the specified enhanced-format metafile

#include <WinAPIGdi.au3>
_WinAPI_GetEnhMetaFileHeader ( $hEmf )

## Parameters

$hEmf | Handle to the enhanced metafile for which the header is to be retrieved.

## Return Value

Success: | $tagENHMETAHEADER structure that contains the header record, @extended flag will contain the number of bytes copied to the structure, in bytes.
Failure: | Sets the @error flag to non-zero.

## See Also

Search GetEnhMetaFileHeader in MSDN Library.