CmpTraceHiveFlushWroteLogFile
VOID __stdcall CmpTraceHiveFlushWroteLogFile(UINT64 BytesWritten){
int v1;
EVENT_DESCRIPTOR *v2;
UINT64 v3;
int v4;
EVENT_DESCRIPTOR EventDescriptor;
EVENT_DATA_DESCRIPTOR UserData;
int *v7;
int v8;
int v9;
int v10;
v10 = v1;
v3 = EtwpRegTraceHandle;
v4 = 1;
EventDescriptor = (EVENT_DESCRIPTOR)REGISTRY_PERF_EVENT_HIVE_FLUSH_WROTE_LOG_FILE;
if( EtwEventEnabled(EtwpRegTraceHandle, &EventDescriptor, v2) )
{
UserData.Reserved = 0;
v9 = 0;
UserData.Ptr = (unsigned __int64)&v4;
UserData.Size = 4;
v7 = &v10;
v8 = 4;
EtwWrite(v3, &EventDescriptor, 0i64, 2ui64, &UserData);
}
}Referenced by:
HvWriteLogFile