Share via


CardQueryCapabilities function

This function queries the card and card-specific minidriver combination for the functionality that is provided at this level, such as certificate or file compression.

Syntax

DWORD WINAPI CardQueryCapabilities(
  _In_    PCARD_DATA           pCardData,
  _Inout_ PCARD_CAPABILITIES   pCardCapabilities
);

Parameters

  • pCardData [in]
    Context information for the call. For more information, see CardAcquireContext.

  • pCardCapabilities [in, out]
    Card capabilities structure with the version number set. A filled-in CARD_CAPABILITIES structure is returned.

Return value

Zero on success; otherwise, nonzero.

Remarks

Certificate files should be written to the card in a compressed state and with accompanying error-checking information. The Base CSP/KSP performs these operations if the card minidriver cannot do so. The information that this function returns indicates whether the card minidriver or card can do so.

Requirements

Target platform

Desktop

Header

Cardmod.h (include Cardmod.h)

 

 

Send comments about this topic to Microsoft