PoDirectedDripsNotifyPagingDeviceUsage
NTSTATUS __fastcall PoDirectedDripsNotifyPagingDeviceUsage(DEVICE_OBJECT *a1, CHAR a2){
DEVICE_OBJECT *DeviceAttachmentBaseRefWithTag;
DEVICE_OBJECT *v4;
__int64 v5;
int v6;
int v7;
DeviceAttachmentBaseRefWithTag = IoGetDeviceAttachmentBaseRefWithTag(a1, 0x64446F50ui64);
v4 = DeviceAttachmentBaseRefWithTag;
if( DeviceAttachmentBaseRefWithTag )
v5 = *(_QWORD *)(*((_QWORD *)DeviceAttachmentBaseRefWithTag + 39) + 40i64);
else
v5 = 0i64;
if( v5 )
{
v6 = *(_DWORD *)(v5 + 768);
if( a2 )
v7 = v6 + 1;
else
v7 = v6 - 1;
*(_DWORD *)(v5 + 768) = v7;
}
return ObfDereferenceObjectWithTag(v4, 0x64446F50ui64);
}Referenced by:
PiPagePathSetState