Gdi32GetEnhMetaFile Method

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

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("GDI32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static IntPtr GetEnhMetaFile(
	string name
)

Parameters

name  String
A null-terminated string that specifies the name of an enhanced metafile.

Return Value

IntPtr
If the function succeeds, the return value is a handle to the enhanced metafile.

If the function fails, the return value is Zero.

Remarks

See Also