PiSwDeviceOperationsAllowed

CHAR __stdcall PiSwDeviceOperationsAllowed(INT64 a1){
  CHAR v1; 

  v1 = 1;
  if( !a1 || !*(_QWORD *)(a1 + 80) || (*(_DWORD *)(a1 + 4) & 4) == 0 || *(_QWORD *)(a1 + 88) )
    return 0;
  return v1;
}

Referenced by:

PiSwIrpGetLifetime
PiSwIrpInterfacePropertySet
PiSwIrpInterfaceRegister
PiSwIrpInterfaceSetState
PiSwIrpPropertySet
PiSwIrpSetLifetime