Marshal.GetHINSTANCE(Module) 메서드

정의

지정된 모듈의 인스턴스 핸들(HINSTANCE)을 반환합니다.

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

매개 변수

m
Module

HINSTANCE가 필요한 모듈입니다.

반환

IntPtr

nativeint

m에 대한 HINSTANCE이거나 모듈에 HINSTANCE가 없을 경우는 -1입니다.

특성

예외

m 매개 변수가 null인 경우

설명

동적 또는 메모리 내 모듈에는 HINSTANCE가 없습니다.

적용 대상