CardQueryCapabilities Function

The CardQueryCapabilities function, defined by a smart card module, retrieves information about the functionality provided by a smart card.

Syntax

DWORD WINAPI CardQueryCapabilities(
  __in     PCARD_DATA pCardData,
  __inout  PCARD_CAPABILITIES pCardCapabilities
);

Parameters

  • pCardData [in]
    A pointer to a CARD_DATA structure received from a call to the CardAcquireContext function.

  • pCardCapabilities [in, out]
    A pointer to a CARD_CAPABILITIES structure that, on output, contains information about the capabilities of the smart card.

Return Value

If the function succeeds, the function returns zero.

If the function fails, it returns a nonzero value.

Requirements

Minimum supported client Windows XP, Windows 2000 Professional with SP4
Minimum supported server Windows Server 2003, Windows 2000 Server with SP4
Header Cardmod.h

See Also

Microsoft Base Smart Card Cryptographic Service Provider

CARD_CAPABILITIES

CARD_DATA

CardAcquireContext

Send comments about this topic to Microsoft

Build date: 3/5/2009