NativeLibrary.GetExport(IntPtr, String) 메서드

정의

내보낸 기호의 주소를 가져옵니다.

public:
 static IntPtr GetExport(IntPtr handle, System::String ^ name);
public static IntPtr GetExport (IntPtr handle, string name);
static member GetExport : nativeint * string -> nativeint
Public Shared Function GetExport (handle As IntPtr, name As String) As IntPtr

매개 변수

handle
IntPtr

nativeint

네이티브 라이브러리 OS 핸들입니다.

name
String

내보낸 기호의 이름입니다.

반환

IntPtr

nativeint

기호의 주소입니다.

예외

handleZero이거나 namenull인 경우

기호를 찾을 수 없습니다.

설명

이는 OS 호출에 대한 간단한 래퍼이며 이름 맹글링을 수행하지 않습니다.

이 메서드를 이외의 잘못된 handle 매개 변수 IntPtr.Zero 로 호출하는 것은 지원되지 않으며 정의되지 않은 동작이 발생합니다.

적용 대상