Marshal.GetHINSTANCE(Module) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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
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.