PCCARD_DES structure (cfgmgr32.h)

The PCCARD_DES structure is used for specifying either a resource list or a resource requirements list that describes resource usage by a PC Card instance. For more information about resource lists and resource requirements lists, see Hardware Resources.

Syntax

typedef struct PcCard_Des_s {
  DWORD PCD_Count;
  DWORD PCD_Type;
  DWORD PCD_Flags;
  BYTE  PCD_ConfigIndex;
  BYTE  PCD_Reserved[3];
  DWORD PCD_MemoryCardBase1;
  DWORD PCD_MemoryCardBase2;
  DWORD PCD_MemoryCardBase[PCD_MAX_MEMORY];
  WORD  PCD_MemoryFlags[PCD_MAX_MEMORY];
  BYTE  PCD_IoFlags[PCD_MAX_IO];
} PCCARD_DES, *PPCCARD_DES;

Members

PCD_Count

Must be 1.

PCD_Type

Not used.

PCD_Flags

One bit flag from each of the flag sets described in the following table.

Flag Definition
I/O Addressing Flags
fPCD_IO_8 The device uses 8-bit I/O addressing.
fPCD_IO_16 The device uses 16-bit I/O addressing.
mPCD_IO_8_16 Bitmask for the bit within PCD_Flags that specifies 8-bit or 16-bit I/O addressing.
Memory Addressing Flags
fPCD_MEM_8 The device uses 8-bit memory addressing.
fPCD_MEM_16 The device uses 16-bit memory addressing.
mPCD_MEM_8_16 Bitmask for the bit within PCD_Flags that specifies 8-bit or 16-bit memory addressing.

PCD_ConfigIndex

The 8-bit index value used to locate the device's configuration.

PCD_Reserved[3]

Not used.

PCD_MemoryCardBase1

Optional, card base address of the first memory window.

PCD_MemoryCardBase2

Optional, card base address of the second memory window.

PCD_MemoryCardBase[PCD_MAX_MEMORY]

This member is currently unused.

PCD_MemoryFlags[PCD_MAX_MEMORY]

This member is currently unused.

PCD_IoFlags[PCD_MAX_IO]

This member is currently unused.

Requirements

Requirement Value
Header cfgmgr32.h (include Cfgmgr32.h)

See also

PCCARD_RESOURCE