다음을 통해 공유


Marshal.GetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, Int32) 메서드

정의

주의

The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.

관리 코드에서 비관리 코드로 호출을 마샬링하는 런타임 생성 함수에 대한 포인터를 가져옵니다.

public:
 static IntPtr GetManagedThunkForUnmanagedMethodPtr(IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)]
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)]
[System.Security.SecurityCritical]
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)>]
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)>]
[<System.Security.SecurityCritical>]
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
Public Shared Function GetManagedThunkForUnmanagedMethodPtr (pfnMethodToWrap As IntPtr, pbSignature As IntPtr, cbSignature As Integer) As IntPtr

매개 변수

pfnMethodToWrap
IntPtr

nativeint

마샬링할 메서드에 대한 포인터입니다.

pbSignature
IntPtr

nativeint

메서드 시그니처에 대한 포인터입니다.

cbSignature
Int32

pbSignature의 바이트 수입니다.

반환

IntPtr

nativeint

pfnMethodToWrap 매개 변수에서의 호출을 비관리 코드로 마샬링할 함수에 대한 포인터입니다.

특성

설명

GetManagedThunkForUnmanagedMethodPtr 는 컴파일러 지원용으로만 노출됩니다.

적용 대상