RxLowIoGetBufferAddress returns the buffer corresponding to the MDL from LowIoContext structure of an RX_CONTEXT structure.
- RxContext [in]
A pointer to the RX_CONTEXT structure for this request.
RxLowIoGetBufferAddress returns a mapped address pointer on success or a NULL on failure.
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.