PopDeviceConstraintsEnforced

UINT8 __stdcall PopDeviceConstraintsEnforced(){
  bool v0; 
  unsigned __int8 CurrentIrql; 
  _PPM_IDLE_STATES *IdleStates; 

  v0 = 0;
  CurrentIrql = KeGetCurrentIrql();
  __writecr8(2ui64);
  IdleStates = KeGetCurrentPrcb()->PowerState.IdleStates;
  if( IdleStates && IdleStates->InterfaceVersion == 1 )
    v0 = PpmPlatformStates != 0;
  __writecr8(CurrentIrql);
  return v0;
}

Referenced by:

PopDripsWatchdogCallbackHandler
PopDripsWatchdogTakeAction