CARD_FREE_SPACE_INFO structure

This topic is not current. For the most current information about the Smart Card API, see Smart Card Minidriver Specification.

The CARD_FREE_SPACE_INFO structure contains information about the amount of available memory on a smart card.

Syntax

typedef struct _CARD_FREE_SPACE_INFO {
  DWORD dwVersion;
  DWORD dwBytesAvailable;
  DWORD dwKeyContainersAvailable;
  DWORD dwMaxKeyContainers;
} CARD_FREE_SPACE_INFO, *PCARD_FREE_SPACE_INFO;

Members

dwVersion

The version number of the structure.

dwBytesAvailable

The number of bytes of memory available on the smart card.

dwKeyContainersAvailable

The number of key containers available on the smart card.

dwMaxKeyContainers

The maximum number of key containers that the smart card supports.

Remarks

The CardQueryFreeSpace function initializes this structure. The CardQueryFreeSpace function should set any values that are not known to CARD_DATA_VALUE_UNKNOWN.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Cardmod.h

See also

Microsoft Base Smart Card Cryptographic Service Provider

CardQueryFreeSpace