Share via


Secure Digital Card Driver Functions

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The following table shows the secure digital (SD) card driver functions.

Programming element Description

SDAllocateFromMemList

This function allocates an entry from a memory look-aside list.

SDBusRequest

This function asynchronously issues a bus request to an SD device. Upon completion of the bus request, the callback function passed in pCallbackis called.

SDBusRequestEx

Applies to Windows Embedded CE 6.0 R2

This function asynchronously issues a bus request to an SD device. Upon completion of the bus request, the callback function passed in pCallback is called. SDBusRequestEx is the extension of SDBusRequest and is for use with direct memory access (DMA).

SDBusRequestResponse

This function returns the request response, generated by SDBusRequest, for a submitted asynchronous request.

SDCancelBusRequest

This function cancels a queued bus request as generated by SDBusRequest.

SDCardInfoQuery

This function retrieves specific card information.

SDCreateMemoryList

This function creates a memory look-aside list.

SDDeleteMemList

This function deletes a memory look-aside list created with SDCreateMemoryList.

SDDeinitializeCardLib

This function deinitializes the card library.

SDFreeBusRequest

This function frees a bus request structure returned from the SDBusRequest function.

SDFreeToMemList

This function frees an entry back to the memory list.

SDGetDeviceHandle

This function retrieves an SD device handle derived from the initialization context passed in to the XXX_Init (Device Manager)entry point of a client driver. The real registry path of the client device driver can optionally be returned.

SDGetTuple

This function retrieves tuple data from the card information structure (CIS) region of an SDIO card.

SDHCDAllocateContext

This function allocates a secure digital card host controller driver context structure.

SDHCDDeinitializeHCLib

This function deinitializes the secure digital card host controller library.

SDHCDDeleteContext

This function deletes a secure digital card host controller driver context structure.

SDHCDDeregisterHostController

This function deregisters a host controller.

SDHCDGetAndLockCurrentRequest

This function retrieves the current bus request in host controller slot and then locks the request. A locked request can not be canceled.

SDHCDIndicateBusRequestComplete

This function indicates to the secure digital bus driver that the bus request is complete.

SDHCDIndicateSlotStateChange

This function indicates a change in the secure digital card slot.

SDHCDInitializeHCLib

This function initializes the secure digital card host controller driver library.

SDHCDPowerUpDown

This function indicates a power up or power down event.

SDHCDRegisterHostController

This function registers a host controller with the secure digital card bus driver.

SDHCDUnlockRequest

This function unlocks a request that was previously locked by SDHCDGetAndLockCurrentRequest. The request can then be cancelled from any thread context.

SDInitializeCardLib

This function initializes the card library.

SDIOConnectInterrupt

This function specifies a function to be called when an SDIO card interrupt occurs.

SDIODisconnectInterrupt

This function disables the interrupt functionality of an SDIO card previously initialized with SDIOConnectInterrupt.

SDOutputBuffer

This function prints a buffer to the debugger using 16 bytes per line, and displays the ASCII character representation on each line. If a character is not displayable, a period (.) is used.

SDPerformSafeCopy

This function performs a safe copy of a source buffer to a destination buffer.

SDReadWriteRegistersDirect

This function reads from or writes to the registers of an SDIO card.

SDRegisterClient

This function registers a client device.

SDSetCardFeature

This function sets various SDIO card features in a thread-safe manner.

SDSynchronousBusRequest

This function synchronously issues a bus request to an SD device.

SDSynchronousBusRequestEx

Applies to Windows Embedded CE 6.0 R2

This function synchronously issues a bus request to an SD device. SDSynchronousBusRequestEx is the extension of SDSynchronousBusRequest and is for use with direct memory access (DMA).

See Also

Reference

Secure Digital Card Driver Reference