Marshal.GetHINSTANCE(Module) Método

Definição

Devolve o handle da instância (HINSTANCE) para o 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

O módulo cujo HINSTANCE é desejado.

Devoluções

IntPtr

nativeint

A HINSTÂNCIA para m; ou -1 se o módulo não tiver uma HINSTÂNCIA.

Atributos

Exceções

O m parâmetro é null.

Observações

Quando dinâmicos ou em memória, os módulos não possuem uma HINSTANCE.

Aplica-se a