Partager via


PC Card Socket Service Shared Code Library Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The LoadWindowsSettings function in the CPCCardBusBridgeBase class assumes that the window parameters in the registry follow a specific format. A minimum of one subkey with the name WindowEntryXXX, where XXX is a consecutive entry number starting with 1, must contain the RepeatCount and SlotNumber values. The following table shows the required values for the WindowEntryXXX subkey.

Value Description

RepeatCount

Indicates the repeat count for the entry. If this value is not provided, a repeat count of 1 is assumed.

SlotNumber

Indicates that the entry is for a specific slot number. A driver that handles multiple PC Card slots in a single instance can use this value to differentiate between registry settings for individual slots.

If a parameter that corresponds to a member of the SS_WINDOW_INFO or SS_WINDOW_STATE structure is not specified, a default value of 0 is assumed. For example, the following registry entries result in the creation of 5 instances of memory windows and 2 instances of I/O windows.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_I82365\WindowEntry1]
     "RepeatCount"=dword:5
     "WindowInfoWindowCaps"=dword:3
     "WindowInfoMemoryCaps"=dword:1b
     "WindowInfoMemMinSize"=dword:1000
     "WindowInfoMemMaxSize"=dword:2000
     "WindowInfoMemBase"=dword:D0000
     "WindowInfoSlowest"=dword:97
     "WindowInfoFastest"=dword:90
     "WindowStateSpeed"=dword:88
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_I82365\WindowEntry2]
     "RepeatCount"=dword:2
     "WindowInfoWindowCaps"=dword:4
     "WindowInfoIOCaps"=dword:18
     "WindowInfoIOMinSize"=dword:4
     "WindowInfoIOMaxSize"=dword:1000
     "WindowInfoIOGranularity"=dword:1
     "WindowStateState"=dword:1
     "WindowStateSpeed"=dword:1

See Also

Concepts

PC Card Socket Service Shared Code Library
Window Classes
Socket Class
Bridge Base Class
Static Window Classes