RxLowIoGetBufferAddress - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// lowio.h

PVOID RxLowIoGetBufferAddress(
  [in] IN PRX_CONTEXT RxContext
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-lowio-rxlowiogetbufferaddress)

RxLowIoGetBufferAddress function

Description

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

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 calls MmGetSystemAddressForMdlSafe to retrieve the mapped address.

See also

MmGetSystemAddressForMdlSafe

RX_CONTEXT

RxLowIoCompletion

RxMapSystemBuffer

RxNewMapUserBuffer