RxLowIoGetBufferAddress function (lowio.h)
RxLowIoGetBufferAddress returns the buffer corresponding to the MDL from LowIoContext structure of an RX_CONTEXT structure.
Syntax
PVOID RxLowIoGetBufferAddress(
[in] IN PRX_CONTEXT RxContext
);
Parameters
[in] RxContext
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 calls MmGetSystemAddressForMdlSafe to retrieve the mapped address.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | lowio.h (include Rxcontx.h, Lowio.h) |
IRQL | <= APC_LEVEL |