Share via


CardDeleteContext Function

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

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

CARD_DATA

CardAcquireContext

Send comments about this topic to Microsoft

Build date: 3/5/2009