VfWmiVerifyIrpStackUpward

VOID __stdcall VfWmiVerifyIrpStackUpward(
        _IOV_REQUEST_PACKET *IovPacket,
        _IO_STACK_LOCATION *IrpSp,
        _IOV_STACK_LOCATION *RequestHeadLocationData,
        _IOV_STACK_LOCATION *StackLocationData,
        UINT64 IsNewlyCompleted,
        UINT64 RequestFinalized){
  const VOID *v7; 
  VOID *v8; 
  _DEVICE_OBJECT *DeviceObject; 

  if( (MmVerifierData & 0x10) != 0 )
  {
    v7 = *(const VOID **)IovPacket;
    v8 = (VOID *)*((_QWORD *)StackLocationData + 5);
    if( (_DWORD)IsNewlyCompleted )
    {
      if( StackLocationData[1] >= 0 && (StackLocationData[1] & 0x10000000) == 0 )
      {
        DeviceObject = IrpSp->DeviceObject;
        if( (_DEVICE_OBJECT *)IrpSp->Parameters.SecurityContext != DeviceObject
          && !VfDevObjIsDeviceRemoved(DeviceObject)
          && !VfIoSwitchedOffNoReboot )
        {
          ViErrorReport10(544, v8, v7, IrpSp->Parameters.SecurityContext);
        }
      }
    }
  }
}

Referenced by:

No references.