Gdi32GetEnhMetaFile Method
Creates a handle that identifies the enhanced-format metafile stored in the specified file.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("GDI32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true, SetLastError := true>]
Public Shared Function GetEnhMetaFile (
name As String
) As IntPtr
Dim name As String
Dim returnValue As IntPtr
returnValue = Gdi32.GetEnhMetaFile(name)
public:
[DllImportAttribute(L"GDI32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
static IntPtr GetEnhMetaFile(
String^ name
)
[<DllImportAttribute("GDI32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
static member GetEnhMetaFile :
name : string -> IntPtr
No code example is currently available or this language may not be supported.
- name String
-
A null-terminated string that specifies the name of an enhanced metafile.
IntPtr
If the function succeeds, the return value is a handle to the enhanced metafile.
If the function fails, the return value is
Zero.