PopDiagTracePolicyChange

VOID __stdcall PopDiagTracePolicyChange(
        UINT64 SensorDisplayTimeout,
        UINT64 DisplayTimeout,
        UINT64 SensorInputTimeout,
        UINT64 InputTimeout,
        UINT64 SessionLockTimeout){
  UINT64 v5; 
  int v6; 
  int v7; 
  int v8; 
  int v9; 
  int v10; 
  int v11; 
  EVENT_DATA_DESCRIPTOR UserData; 
  int *v13; 
  int v14; 
  int v15; 
  int *v16; 
  int v17; 
  int v18; 
  int *v19; 
  int v20; 
  int v21; 
  int *v22; 
  int v23; 
  int v24; 
  int *v25; 
  int v26; 
  int v27; 
  v11 = 0;
  v10 = PopAdaptiveLockConsoleTimeout;
  v9 = PopInputTimeout;
  v8 = PopInputTimeout;
  v7 = PopDisplayTimeout;
  v6 = PopDisplayTimeout;
  if( PopDiagHandleRegistered )
  {
    v5 = PopDiagHandle;
    if( EtwEventEnabled(
           PopDiagHandle,
           (EVENT_DESCRIPTOR *)&POP_ETW_ADPM_POLICY_CHANGE,
           (EVENT_DESCRIPTOR *)SensorInputTimeout) )
    {
      UserData.Reserved = 0;
      v15 = 0;
      v18 = 0;
      v21 = 0;
      v24 = 0;
      v27 = 0;
      UserData.Ptr = (unsigned __int64)&v6;
      UserData.Size = 4;
      v13 = &v7;
      v16 = &v8;
      v19 = &v9;
      v22 = &v10;
      v25 = &v11;
      v14 = 4;
      v17 = 4;
      v20 = 4;
      v23 = 4;
      v26 = 4;
      EtwWrite(v5, (EVENT_DESCRIPTOR *)&POP_ETW_ADPM_POLICY_CHANGE, 0i64, 6ui64, &UserData);
    }
  }
}

Referenced by:

PopAdaptivePowerSettingCallback