RawQueryInformation
NTSTATUS __stdcall RawQueryInformation(_VCB *Vcb, _IRP *Irp, _IO_STACK_LOCATION *IrpSp){
unsigned __int64 v6;
char v7;
int v8;
RawBeginOperation((INT64)Vcb, (INT64)IrpSp->FileObject);
v6 = 0i64;
if( v7 )
{
if( IrpSp->Parameters.Options == 14 )
{
if( LODWORD(IrpSp->Parameters.SecurityContext) >= 8 )
{
v8 = 0;
v6 = 8i64;
*(_QWORD *)Irp->AssociatedIrp.MasterIrp = IrpSp->FileObject->CurrentByteOffset.QuadPart;
LODWORD(IrpSp->Parameters.SecurityContext) -= 8;
}
else
{
v8 = -2147483643;
}
Irp->IoStatus.Information = v6;
}
else
{
v8 = -1073741808;
}
RawEndOperation(Vcb, IrpSp->FileObject);
}
else
{
v8 = -1073741202;
}
LOBYTE(v6) = 1;
Irp->IoStatus.Status = v8;
IofCompleteRequest(Irp, v6);
return v8;
}Referenced by:
RawDispatch