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.
- pCardData [in, out]
Address of CARD_DATA structure.
Zero on success; otherwise, nonzero.
CardDeleteContext can be called after DllMain was called with the DLL_PROCESS_DETACH parameter.