SdPortCompleteRequest routine

This routine is called after any completion of an SDPORT_REQUEST.

Syntax

void SdPortCompleteRequest(
  _In_ PSDPORT_REQUEST Request,
  _In_ NTSTATUS        Status
);

Parameters

  • Request [in]
    The SDPORT_REQUEST associated with the completion routine.

  • Status [in]
    An NTSTATUS value that represents the completion status of the given request.

Return value

This routine does not return a value.

Remarks

Completion of an SDPORT_REQUEST can occur for the following reasons:

  • The hardware interrupts associated with the request have fired, noting that the request has completed successfully. The interrupts that are associated with the request may be host dependent.
  • A hardware error has occurred, signaling that the request has failed.
  • The request timed out in software. This means that the timeout timer associated with the request has fired. The port driver will handle the timeout timer and notify the miniport when a request is to be completed due to a software timeout.

The miniport driver is expected to use the RequiredEvents member of the SDPORT_REQUEST to keep track of what requests to complete based off of the controller events that occur.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview

Header

Sdport.h

DLL

Sdport.lib

IRQL

_IRQL_requires_max_(DISPATCH_LEVEL)

 

 

Send comments about this topic to Microsoft