// ntddsd.h
PSDBUS_INITIALIZE_INTERFACE_ROUTINE PsdbusInitializeInterfaceRoutine;
NTSTATUS PsdbusInitializeInterfaceRoutine(
[in] PVOID Context,
[in] PSDBUS_INTERFACE_PARAMETERS InterfaceParameters
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The PSDBUS_INITIALIZE_INTERFACE_ROUTINE prototype declares the routine that a Secure Digital (SD) device driver uses to initialize an interface instance that it creates with the SdBusOpenInterface routine.
Context [in]Contains the interface context that the SdBusOpenInterface routine returns in the Context member of the SDBUS_INTERFACE_STANDARD structure.
InterfaceParameters [in]Pointer to a structure of type SDBUS_INTERFACE_PARAMETERS that contains the information that the bus driver should use to initialize the interface instance.
Returns STATUS_SUCCESS if the operation succeeds, or the appropriate error status if the operation fails.
An SD card driver typically calls its initialization routine immediately after the SdBusOpenInterface routine returns with a value of STATUS_SUCCESS.
An SD card driver must call its initialization routine before attempting to send requests to the bus driver.