Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CardDeleteDirectory function, defined by a smart card module, deletes a directory from a smart card. The directory must be empty, and the caller must have permission to delete that directory.
Syntax
DWORD WINAPI CardDeleteDirectory(
__in PCARD_DATA pCardData,
__in LPSTR pszDirectoryName
);
Parameters
pCardData [in]
A pointer to a CARD_DATA structure received from a call to the CardAcquireContext function.pszDirectoryName [in]
A pointer to a null-terminated string that contains the name of the directory to delete.
Return Value
If the function succeeds, the function returns zero.
If the function fails, it returns a nonzero error value or one of the following possible error values.
| Return code/value | Description |
|---|---|
| SCARD_W_SECURITY_VIOLATION 21485323300x8010006A | The caller did not authenticate to the smart card before calling this function. |
Requirements
| Minimum supported client | Windows XP, Windows 2000 Professional with SP4 |
| Minimum supported server | Windows Server 2003, Windows 2000 Server with SP4 |
| Header | Cardmod.h |
See Also
Microsoft Base Smart Card Cryptographic Service Provider
Send comments about this topic to Microsoft
Build date: 3/5/2009