Condividi tramite


CardDeleteContext function

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

The CardDeleteContext function, defined by a smart card module, ends communication between the Microsoft Base Smart Card Cryptographic Service Provider (CSP) or smart card key storage provider (KSP) and the smart card module and cleans up resources that were allocated by the smart card module.

Syntax

DWORD WINAPI CardDeleteContext(
  _In_ PCARD_DATA pCardData
);

Parameters

pCardData [in]

A pointer to the CARD_DATA structure created during the corresponding call to the CardAcquireContext function.

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

CARD_DATA

CardAcquireContext