PSDBUS_INITIALIZE_INTERFACE_ROUTINE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddsd.h

PSDBUS_INITIALIZE_INTERFACE_ROUTINE PsdbusInitializeInterfaceRoutine;

NTSTATUS PsdbusInitializeInterfaceRoutine(
  [in] PVOID Context,
  [in] PSDBUS_INTERFACE_PARAMETERS InterfaceParameters
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ntddsd-psdbus_initialize_interface_routine)

PSDBUS_INITIALIZE_INTERFACE_ROUTINE callback function

Description

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.

Parameters

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.

Return value

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

Remarks

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.

See also

SDBUS_INTERFACE_STANDARD

SdBusOpenInterface