PoFxEnableDStateReporting

NTSTATUS __stdcall PoFxEnableDStateReporting(_DEVICE_OBJECT *DeviceObject){
  POHANDLE **v1; 
  POHANDLE **a7; 
  int v4; 
  INT128 a2[20]; 
  INT64 a3[2]; 
  __int128 v8; 
  __int128 v9; 
  __int64 v10; 
  __int128 v11; 
  __int64 v12; 

  a7 = v1;
  if( !DeviceObject || !v1 )
    return -1073741811;
  memset(a2, 0i64, sizeof(a2));
  v10 = 0i64;
  v12 = 0i64;
  v8 = 0i64;
  HIDWORD(v8) = 1;
  v9 = (unsigned __int64)&v11;
  *(_OWORD *)a3 = 0i64;
  v11 = 0i64;
  v4 = PopFxRegisterDevice(DeviceObject, a2, (INT64)a3, InterruptControllerPic, 0i64, 0i64, (INT64)a7);
  if( v4 >= 0 )
  {
    *((_DWORD *)*a7 + 206) |= 1u;
    PoFxStartDevicePowerManagement(*a7);
  }
  return v4;
}

Referenced by:

No references.