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

◆ GetClassFactoryForTypeInternal()

static unsafe int Internal.Runtime.InteropServices.ComActivator.GetClassFactoryForTypeInternal ( ComActivationContextInternal * pCxtInt)
inlinestatic

Definition at line 240 of file ComActivator.cs.

241 {
243 {
245 }
246 ref ComActivationContextInternal reference = ref *pCxtInt;
247 if (IsLoggingEnabled())
248 {
249 }
250 try
251 {
252 ComActivationContext cxt = ComActivationContext.Create(ref reference);
256 }
257 catch (Exception ex)
258 {
259 return ex.HResult;
260 }
261 return 0;
262 }
static object GetClassFactoryForType(ComActivationContext cxt)
static IntPtr GetIUnknownForObject(object o)
Definition Marshal.cs:231
static void WriteIntPtr(IntPtr ptr, int ofs, IntPtr val)
Definition Marshal.cs:1096
static string NotSupported_COM
Definition SR.cs:2190
Definition SR.cs:7

References Internal.Runtime.InteropServices.ComActivationContext.Create(), Internal.Runtime.InteropServices.ComActivator.GetClassFactoryForType(), System.Runtime.InteropServices.Marshal.GetIUnknownForObject(), System.Runtime.InteropServices.Marshal.IsBuiltInComSupported, Internal.Runtime.InteropServices.ComActivator.IsLoggingEnabled(), System.SR.NotSupported_COM, and System.Runtime.InteropServices.Marshal.WriteIntPtr().