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

◆ CallICustomQueryInterface()

static int System.Runtime.InteropServices.ComWrappers.CallICustomQueryInterface ( object customQueryInterfaceMaybe,
ref Guid iid,
out IntPtr ppObject )
inlinestaticpackage

Definition at line 202 of file ComWrappers.cs.

203 {
204 if (!(customQueryInterfaceMaybe is ICustomQueryInterface customQueryInterface))
205 {
206 ppObject = IntPtr.Zero;
207 return -1;
208 }
209 return (int)customQueryInterface.GetInterface(ref iid, out ppObject);
210 }

References System.IntPtr.Zero.