Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ QueryInterface()

static unsafe int System.Runtime.InteropServices.Marshal.QueryInterface ( IntPtr pUnk,
ref Guid iid,
out IntPtr ppv )
inlinestatic

Definition at line 742 of file Marshal.cs.

743 {
744 if (pUnk == IntPtr.Zero)
745 {
746 throw new ArgumentNullException("pUnk");
747 }
748 fixed (Guid* ptr = &iid)
749 {
750 fixed (IntPtr* ptr2 = &ppv)
751 {
752 return ((delegate* unmanaged<IntPtr, Guid*, IntPtr*, int>)(*(*(IntPtr**)(void*)pUnk)))(pUnk, ptr, ptr2);
753 }
754 }
755 }

References System.IntPtr.Zero.