The SmartcardCompleteCardTracking function informs the caller of a card insertion or removal event.
VOID
SmartcardCompleteCardTracking(
IN PSMARTCARD_EXTENSION SmartcardExtension
);
Use this function to inform the caller that a smart card has been either inserted or removed. This function automatically unlocks memory that was locked before the callback function RDF_CARD_TRACKING was called. Use this function when your driver detects that a card has been inserted or removed and the structure member SmartcardExtension->OsData->NotificationOverlappedData is not NULL.
This function is not available when developing WDM drivers. For a list of the functions that can be used, see WDM Driver Functions.