Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RxLowIoGetBufferAddress function

RxLowIoGetBufferAddress returns the buffer corresponding to the MDL from LowIoContext structure of an RX_CONTEXT structure.

Syntax


PVOID RxLowIoGetBufferAddress(
  _In_  PRX_CONTEXT RxContext
);

Parameters

RxContext [in]

A pointer to the RX_CONTEXT structure for this request.

Return value

RxLowIoGetBufferAddress returns a mapped address pointer on success or a NULL on failure.

Remarks

RxLowIoGetBufferAddress checks that the ParamsFor.ReadWrite.ByteCount member of the LowIoContext member of the RxContext variable is greater than zero and returns a NULL pointer if this is not the case.

RxLowIoGetBufferAddress causes the system to ASSERT on checked builds if the ParamsFor.ReadWrite.Buffer member of the LowIoContext is NULL.

RxLowIoGetBufferAddress calls MmGetSystemAddressForMdlSafe to retrieve the mapped address.

Requirements

Header

Lowio.h (include Rxcontx.h or Lowio.h)

IRQL

<= APC_LEVEL

See also

MmGetSystemAddressForMdlSafe
RxLowIoCompletion
RxMapSystemBuffer
RxNewMapUserBuffer
RX_CONTEXT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.