UdecxUrbRetrieveBuffer - NtDoc

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

NTSTATUS UdecxUrbRetrieveBuffer(
  [in]  WDFREQUEST Request,
  [out] PUCHAR     *TransferBuffer,
  [out] PULONG     Length
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-udecxurb-udecxurbretrievebuffer)

UdecxUrbRetrieveBuffer function

Description

Retrieves the transfer buffer of an URB from the specified framework request object sent to the endpoint queue.

Parameters

Request [in]

A handle to a framework request object that contains the URB for the transfer.

TransferBuffer [out]

A pointer to a buffer that receives the transfer buffer of an URB.

Length [out]

A ULONG variable that receives the length of the buffer pointer to by TransferBuffer.

Return value

The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.

Return code Description
STATUS_INVALID_PARAMETER The URB does not contain a transfer buffer.
STATUS_INSUFFICIENT_RESOURCES The transfer buffer MDL was not valid.

See also

Architecture: USB Device Emulation (UDE)

UdecxUrbSetBytesCompleted

Write a UDE client driver