The SmartcardDeleteLink function deletes the link that was created with SmartcardCreateLink (VxD).
NTSTATUS
SmartcardDeleteLink(
IN PSTR LinkName
);
SmartcardDreateLink returns STATUS_SUCCESS if the symbolic link object was deleted.
Declared in smclib.h. Include smclib.h.
Use this function to remove the link to the driver from the registry when a dynamically-loaded driver unloads.
This function is not available when developing WDM drivers. For a list of the functions that can be used, see WDM Smart Card Driver Functions.