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

◆ GetComInterfaceForObject() [2/2]

static IntPtr System.Runtime.InteropServices.Marshal.GetComInterfaceForObject ( object o,
Type T,
CustomQueryInterfaceMode mode )
inlinestatic

Definition at line 277 of file Marshal.cs.

278 {
279 if (o == null)
280 {
281 throw new ArgumentNullException("o");
282 }
283 if ((object)T == null)
284 {
285 throw new ArgumentNullException("T");
286 }
287 bool fEnableCustomizedQueryInterface = mode == CustomQueryInterfaceMode.Allow;
288 return GetComInterfaceForObjectNative(o, T, fEnableCustomizedQueryInterface);
289 }
static IntPtr GetComInterfaceForObjectNative(object o, Type t, bool fEnableCustomizedQueryInterface)

References System.Runtime.InteropServices.Marshal.GetComInterfaceForObjectNative().