Secure Digital Card Driver Registry Settings (Windows CE 5.0)

Send Feedback

When a new Secure Digital (SD) card is inserted, the bus driver uses the registry keys under HKLM\Drivers\SDCARD\ClientDrivers\ to determine the correct client driver to load. The bus driver loads the client driver based on card type, SD I/O (SDIO) class, or a custom identifier.

The client driver registry path must, at minimum, contain the following:

  • A DLL value that contains the name of the driver DLL file.
  • A Prefix value that contains the three letter prefix of the driver.

If the bus driver is unable to locate a custom driver for the card, it will search for a driver based on the card type or SDIO class.

SD Memory Client Driver

The following registry entry is necessary to load an SD memory client driver.

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]

SD memory client drivers that are manageable by Power Manager must use this registry entry to advertise a PMCLASS_BLOCK_DEVICE interface. The following registry entry shows the required settings.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMemory]
   "Dll"="SDMemory.dll"
   "Prefix"="DSK"
   "Profile"="SDMemory"
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
                     "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}" ; PMCLASS_BLOCK_DEVICE

The following registry entry can be used to override the default setting and load a custom client driver.

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Custom\CID-M-AA-PPPPP]

The M value is the manufacturer ID, the AA value is the two character OEM application ID, and the PPPPP value is the five character product name.

SDIO Device

The following registry entry can be used to load an SDIO device.

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDIO_Class\<class interface code>]

The following registry entry can be used to load a custom SDIO device.

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Custom\MANF-<manufacturer ID>-CARDID-<card ID>-FUNC-<function number>]

The manufacturer ID and card ID values should be stored in hexadecimal. The function number can be set to any value from 1 to 7.

See Also

Secuire Digital Card Driver Help

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.