public static void TaskLogLiveRCW(IntPtr pRCW, IntPtr typeRawValue, IntPtr IUnknown, IntPtr VTable, int refCount, ComObjectFlags flags) { int rcwEtwFlags = 0; if ((flags & ComObjectFlags.IsDuplicate) != 0) rcwEtwFlags &= (int)RCW_ETW_FLAGS.Duplicate; if ((flags & ComObjectFlags.IsJupiterObject) != 0) rcwEtwFlags &= (int)RCW_ETW_FLAGS.JupiterObject; if ((flags & ComObjectFlags.ExtendsComObject) != 0) rcwEtwFlags &= (int)RCW_ETW_FLAGS.ExtendsComObject; #if !RHTESTCL InteropExtensions.RhpETWLogLiveCom((int)EVENT_TYPE.EVENT_LOG_RCW, (IntPtr)0, pRCW, typeRawValue, IUnknown, VTable, refCount, 0, rcwEtwFlags); #endif // !RHTESTCL }
public static void TaskLogLiveRCW(IntPtr pRCW, IntPtr typeRawValue, IntPtr IUnknown, IntPtr VTable, int refCount, ComObjectFlags flags) { int rcwEtwFlags = 0; if ((flags & ComObjectFlags.IsDuplicate) != 0) { rcwEtwFlags &= (int)RCW_ETW_FLAGS.Duplicate; } if ((flags & ComObjectFlags.IsJupiterObject) != 0) { rcwEtwFlags &= (int)RCW_ETW_FLAGS.JupiterObject; } if ((flags & ComObjectFlags.ExtendsComObject) != 0) { rcwEtwFlags &= (int)RCW_ETW_FLAGS.ExtendsComObject; } #if !RHTESTCL InteropExtensions.RhpETWLogLiveCom((int)EVENT_TYPE.EVENT_LOG_RCW, (IntPtr)0, pRCW, typeRawValue, IUnknown, VTable, refCount, 0, rcwEtwFlags); #endif // !RHTESTCL }