SmartcardDeleteLink (WDM)

The SmartcardDeleteLink function deletes the link that was created with SmartcardCreateLink (WDM).

NTSTATUS 
SmartcardDeleteLink(
  IN PUNICODE_STRING LinkName
);
 

Parameters

LinkName
Points to the name to be removed from the registry.

Remarks

Use this function to remove the link to the driver from the registry when a dynamically loaded driver unloads.

For information on the SmartcardDeleteLink function for VxD drivers, see SmartcardDeleteLink (VxD).