Marshal.GetHINSTANCE(Module) Methode

Definitie

Retourneert de instantiehandgreep (HINSTANCE) voor de opgegeven module.

public:
 static IntPtr GetHINSTANCE(System::Reflection::Module ^ m);
public static IntPtr GetHINSTANCE(System.Reflection.Module m);
[System.Security.SecurityCritical]
public static IntPtr GetHINSTANCE(System.Reflection.Module m);
static member GetHINSTANCE : System.Reflection.Module -> nativeint
[<System.Security.SecurityCritical>]
static member GetHINSTANCE : System.Reflection.Module -> nativeint
Public Shared Function GetHINSTANCE (m As Module) As IntPtr

Parameters

m
Module

De module waarvan DE HINSTANCE gewenst is.

Retouren

IntPtr

nativeint

De HINSTANCE voor m; of -1 als de module geen HINSTANCE heeft.

Kenmerken

Uitzonderingen

De m parameter is null.

Opmerkingen

Wanneer modules dynamisch of in-memory zijn, hebben ze geen HINSTANCE.

Van toepassing op