PoDirectedDripsNotifyPagingDeviceUsage

NTSTATUS __fastcall PoDirectedDripsNotifyPagingDeviceUsage(_DEVICE_OBJECT *a1, char a2){
  _DEVICE_OBJECT *DeviceAttachmentBaseRefWithTag; 
  _DEVICE_OBJECT *v4; 
  _DWORD *DeviceNode; 
  int v6; 
  int v7; 

  DeviceAttachmentBaseRefWithTag = IoGetDeviceAttachmentBaseRefWithTag(a1, 0x64446F50ui64);
  v4 = DeviceAttachmentBaseRefWithTag;
  if( DeviceAttachmentBaseRefWithTag )
    DeviceNode = DeviceAttachmentBaseRefWithTag->DeviceObjectExtension->DeviceNode;
  else
    DeviceNode = 0i64;
  if( DeviceNode )
  {
    v6 = DeviceNode[192];
    if( a2 )
      v7 = v6 + 1;
    else
      v7 = v6 - 1;
    DeviceNode[192] = v7;
  }
  return ObfDereferenceObjectWithTag(v4, 0x64446F50ui64);
}

Referenced by:

PiPagePathSetState