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

◆ GetOrCreateObjectForComInstance()

object System.Runtime.InteropServices.ComWrappers.GetOrCreateObjectForComInstance ( IntPtr externalComObject,
CreateObjectFlags flags )
inline

Definition at line 91 of file ComWrappers.cs.

92 {
93 if (!TryGetOrCreateObjectForComInstanceInternal(this, externalComObject, IntPtr.Zero, flags, null, out var retValue))
94 {
95 throw new ArgumentNullException("externalComObject");
96 }
97 return retValue;
98 }
static bool TryGetOrCreateObjectForComInstanceInternal(ComWrappers impl, IntPtr externalComObject, IntPtr innerMaybe, CreateObjectFlags flags, object wrapperMaybe, out object retValue)

References System.Runtime.InteropServices.ComWrappers.TryGetOrCreateObjectForComInstanceInternal(), and System.IntPtr.Zero.