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

◆ TryGetOrCreateComInterfaceForObjectInternal() [1/2]

static bool System.Runtime.InteropServices.ComWrappers.TryGetOrCreateComInterfaceForObjectInternal ( ComWrappers impl,
object instance,
CreateComInterfaceFlags flags,
out IntPtr retValue )
inlinestaticprivate

Definition at line 56 of file ComWrappers.cs.

57 {
58 if (instance == null)
59 {
60 throw new ArgumentNullException("instance");
61 }
62 return TryGetOrCreateComInterfaceForObjectInternal(ObjectHandleOnStack.Create(ref impl), impl.id, ObjectHandleOnStack.Create(ref instance), flags, out retValue);
63 }
static bool TryGetOrCreateComInterfaceForObjectInternal(ComWrappers impl, object instance, CreateComInterfaceFlags flags, out IntPtr retValue)

References System.Runtime.InteropServices.ComWrappers.id, and System.Runtime.InteropServices.ComWrappers.TryGetOrCreateComInterfaceForObjectInternal().

Referenced by System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(), and System.Runtime.InteropServices.ComWrappers.TryGetOrCreateComInterfaceForObjectInternal().