Gets a pointer to a runtime-generated function that marshals a call from managed to unmanaged code.
Syntax
[System.Obsolete("This method has been deprecated")] public static IntPtrGetManagedThunkForUnmanagedMethodPtr (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 the function that will marshal a call from the pfnMethodToWrap parameter to unmanaged code.