Gets a pointer to a runtime-generated function that marshals a call from unmanaged to managed code.
Syntax
[System.Obsolete("This method has been deprecated")] public static IntPtrGetUnmanagedThunkForManagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature)
Parameters
pfnMethodToWrap
A pointer to the method to marshal.
pbSignature
A pointer to the method signature.
cbSignature
The number of bytes in pbSignature.
Returns
A pointer to a function that will marshal a call from pfnMethodToWrap to managed code.