Marshal.GetHINSTANCE(Module) Método

Definición

Devuelve el identificador de instancia (HINSTANCE) para el módulo especificado.

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

Parámetros

m
Module

Módulo cuyo HINSTANCE se desea.

Devoluciones

IntPtr

nativeint

HINSTANCE para m; -1 si el módulo no tiene HINSTANCE.

Atributos

Excepciones

El parámetro m es null.

Comentarios

Cuando los módulos son dinámicos o en memoria, no tienen hinstance.

Se aplica a