Condividi tramite


CardQueryCapabilities function

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

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 [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Cardmod.h

See also

Microsoft Base Smart Card Cryptographic Service Provider

CARD_CAPABILITIES

CARD_DATA

CardAcquireContext