UdecxUrbSetBytesCompleted function (udecxurb.h)

Sets the number of bytes transferred for the URB contained within a framework request object.

Syntax

void UdecxUrbSetBytesCompleted(
  [in] WDFREQUEST Request,
       ULONG      BytesCompleted
);

Parameters

[in] Request

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

BytesCompleted

The number of transferred bytes to set in the URB. This value must not be greater than the transfer buffer length.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.15
Header udecxurb.h (include Udecx.h)
Library Udecxstub.lib
IRQL PASSIVE_LEVEL

See also

Architecture: USB Device Emulation (UDE)

Write a UDE client driver