The [Drivers\Active] Key

The HKEY_LOCAL_MACHINE\Drivers\Active key contains subkeys that Device Manager uses for tracking active drivers. These subkeys are all two digit integers. Do not edit these values directly. The Device Manager creates and maintains these entries for installable device drivers registered with RegisterDevice.

The subkeys under Active are counters of the drivers loaded by the Device Driver and have values described in the following table.

Value Name Value Type Description
Hnd REG_DWORD Specifies the device handle created for RegisterDevice.
Name REG_SZ Specifies the device name (for example, PGR1:).
Key REG_SZ Registry path to the device key in \Drivers\PCMCIA.
PnpId REG_SZ Specifies a Plug and Play ID for PC Cards.
Sckt REG_DWORD Specifies a PC Card socket and function number in a CARD_SOCKET_HANDLE_wceddk_CARD_SOCKET_HANDLE structure. This is the hSocket parameter passed to the CardRequestIRQ_wceddk_CardRequestIRQ Card Services function.

The following example shows a NewsCard pager that has entries under the Active key:

HKEY_LOCAL_MACHINE
    [Drivers]
        [Active]
            [02]
                SZ: Name = PGR1:
                DWORD: Hnd = 0x32798
                DWORD: Sckt = 0x30000
                SZ: PnpId = Motorola,_Inc.-NewsCard_Data_Receiver-E6DD
                SZ: Key = Drivers\PCMCIA\Motorola,_Inc.-NewsCard_Data_Receiver-E6DD