CardDeleteContext function

The CardDeleteContext function reverses the effect of CardAcquireContext and severs the communication between the Base CSP/KSP and the card minidriver. This function also performs any needed deallocations and cleanup.

Syntax

DWORD WINAPI CardDeleteContext(
  _Inout_  pCardData 
);

Parameters

  • pCardData [in, out]
    Address of CARD_DATA structure.

Return value

Zero on success; otherwise, nonzero.

Remarks

CardDeleteContext can be called after DllMain was called with the DLL_PROCESS_DETACH parameter.

Requirements

Target platform

Desktop

Header

Cardmod.h (include Cardmod.h)

See also

CardAcquireContext

 

 

Send comments about this topic to Microsoft