IopAcquireReferencesFromIoAttributionHandle
NTSTATUS __stdcall IopAcquireReferencesFromIoAttributionHandle(
PVOID IoAttributionHandle,
PVOID *OpaqueContext,
PVOID *OwnerHandle){
struct _EX_RUNDOWN_REF *v5;
struct _EX_RUNDOWN_REF *v6;
void *Ptr;
NTSTATUS v8;
LODWORD(v5) = IopFindDiskIoAttribution(IoAttributionHandle);
v6 = v5;
if( !v5 )
return -1073741275;
if( ExAcquireRundownProtection(v5 + 21) )
{
Ptr = v6[20].Ptr;
*OpaqueContext = v6;
v6 = 0i64;
*OwnerHandle = Ptr;
v8 = 0;
}
else
{
v8 = -1073741431;
}
if( v6 )
IoDiskIoAttributionDereference(v6);
return v8;
}Referenced by:
IoGetIoRateControl
IoNotifyQuotaState