|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The HKEY_LOCAL_MACHINE\Drivers\PCMCIA\Detect\key contains numbered subkeys that assist the device manager in detecting PC Cards. Each numbered subkey specifies a stream interface driver and a corresponding detection function. The Device Manager calls the detection functions to locate the appropriate driver for an unrecognized PC Card. For example, the Device Manager invokes detection functions when a PC Card lacks a Plug and Play identifier or when a PC Card's Plug and Play identifier lacks a corresponding subkey under the Drivers\PCMCIA\key.
The subkeys under Detectare two-digit integers typically assigned by a stream interface driver's installation routine. The order of the integers determines the order that the Device Manager follows when it calls detection functions. For example, if the Device Manager does not detect a suitable DLL listed in subkey 19, it makes a call to subkey 20. The Device Manager continues this consecutive search process until a function returns a value indicating a successful detection
The following table shows the two values contained within these subkeys.
|Value name||Value type||Description|
|Dll||REG_SZ||Specifies the file name for the DLL that contains the detection function. The Device Manager loads the DLL to call the detection function.|
|Entry||REG_SZ||Specifies the name of the detection function.|
The following example shows an entry for detecting SRAM PC Cards.
HKEY_LOCAL_MACHINE [Drivers] [PCMCIA] [Detect]  SZ: Entry = DetectRAMCard SZ: Dll = RAMCARD.dll
Last updated on Tuesday, July 13, 2004