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

◆ CallCreateObject()

static object System.Runtime.InteropServices.ComWrappers.CallCreateObject ( ComWrappersScenario scenario,
ComWrappers comWrappersImpl,
IntPtr externalComObject,
CreateObjectFlags flags )
inlinestaticpackage

Definition at line 100 of file ComWrappers.cs.

101 {
102 ComWrappers comWrappers = null;
103 switch (scenario)
104 {
105 case ComWrappersScenario.Instance:
106 comWrappers = comWrappersImpl;
107 break;
108 case ComWrappersScenario.TrackerSupportGlobalInstance:
110 break;
111 case ComWrappersScenario.MarshallingGlobalInstance:
112 comWrappers = s_globalInstanceForMarshalling;
113 break;
114 }
115 return comWrappers?.CreateObject(externalComObject, flags);
116 }
static ComWrappers s_globalInstanceForMarshalling
static ComWrappers s_globalInstanceForTrackerSupport

References System.Runtime.InteropServices.ComWrappers.CreateObject(), System.Runtime.InteropServices.ComWrappers.s_globalInstanceForMarshalling, and System.Runtime.InteropServices.ComWrappers.s_globalInstanceForTrackerSupport.