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

◆ GetOrCreateComInterfaceForObject()

IntPtr System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject ( object instance,
CreateComInterfaceFlags flags )
inline

Definition at line 47 of file ComWrappers.cs.

48 {
49 if (!TryGetOrCreateComInterfaceForObjectInternal(this, instance, flags, out var retValue))
50 {
51 throw new ArgumentException(null, "instance");
52 }
53 return retValue;
54 }
static bool TryGetOrCreateComInterfaceForObjectInternal(ComWrappers impl, object instance, CreateComInterfaceFlags flags, out IntPtr retValue)

References System.Runtime.InteropServices.ComWrappers.TryGetOrCreateComInterfaceForObjectInternal().