PopStateIsSessionSpecific

UINT8 __stdcall PopStateIsSessionSpecific(_GUID *SettingGuid){
  UINT8 v1; 
  GUID **v2; 
  unsigned int v3; 
  __int64 v4; 

  v1 = 0;
  v2 = PopSessionSpecificGuids;
  v3 = 0;
  while( 1 )
  {
    v4 = *(_QWORD *)&(*v2)->Data1 - *(_QWORD *)&SettingGuid->Data1;
    if( !v4 )
      v4 = *(_QWORD *)(*v2)->Data4 - *(_QWORD *)SettingGuid->Data4;
    if( !v4 )
      break;
    ++v3;
    ++v2;
    if( v3 >= 2 )
      return v1;
  }
  return 1;
}

Referenced by:

PoRegisterPowerSettingCallback
PopFindPowerSettingConfiguration
PopGetListHead
PopGetSettingNotificationName
PopSetNewPolicyValue
PopSetPowerSettingValue