UdecxUrbCompleteWithNtStatus function (udecxurb.h)

Completes the URB request with an NTSTATUS code.

Syntax

void UdecxUrbCompleteWithNtStatus(
  [in] WDFREQUEST Request,
  [in] NTSTATUS   NtStatus
);

Parameters

[in] Request

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

[in] NtStatus

A NTSTATUS-typed value that indicates the success or failure of the completed URB request.

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