SdBusSubmitRequest function (ntddsd.h)

The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver.

Syntax

NTSTATUS SdBusSubmitRequest(
  [in] PVOID                 InterfaceContext,
       PSDBUS_REQUEST_PACKET Packet
);

Parameters

[in] InterfaceContext

Contains the context information returned by the SdBusOpenInterface routine in the Context member of the SDBUS_INTERFACE_STANDARD structure.

Packet

Pointer to a caller-supplied structure of type SDBUS_REQUEST_PACKET that describes the request.

Return value

Returns STATUS_SUCCESS if the operation succeeds, or the appropriate error code if the operation fails.

Remarks

The SdBusSubmitRequest routine completes the request synchronously. It never returns a status code of STATUS_PENDING, but waits for the request to completed before returning.

This routine is a wrapper for the SdBusSubmitRequestAsync routine.

Callers of SdBusSubmitRequestAsync must be running at IRQL <= DISPATCH_LEVEL.

Requirements

Requirement Value
Target Platform Desktop
Header ntddsd.h (include Ntddsd.h)
IRQL <DISPATCH_LEVEL

See also

SDBUS_INTERFACE_STANDARD

SDBUS_REQUEST_PACKET

SdBusOpenInterface

SdBusSubmitRequestAsync