// ntddsd.h
NTSTATUS SdBusSubmitRequest(
[in] PVOID InterfaceContext,
PSDBUS_REQUEST_PACKET Packet
);
View the official Windows Driver Kit DDI referenceNo description available.
The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver.
InterfaceContext [in]Contains the context information returned by the SdBusOpenInterface routine in the Context member of the SDBUS_INTERFACE_STANDARD structure.
PacketPointer to a caller-supplied structure of type SDBUS_REQUEST_PACKET that describes the request.
Returns STATUS_SUCCESS if the operation succeeds, or the appropriate error code if the operation fails.
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.