RemoveDirectoryA function (fileapi.h) - Win32 apps | Microsoft Learn
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-removedirectorya
The RemoveDirectory function marks a directory for deletion on close. Therefore, the directory is not removed until the last handle to the directory is closed. To recursively delete the files in a directory, use the SHFileOperation function. Deletes an existing empty directory. If the function succeeds, the return value is nonzero. [in] lpPathName
The RemoveDirectory function marks a directory for deletion on close. Therefore, the directory is not removed until the last handle to the directory is closed.
To recursively delete the files in a directory, use the SHFileOperation function.
Deletes an existing empty directory.
If the function succeeds, the return value is nonzero.
[in] lpPathName
DA: 23 PA: 69 MOZ Rank: 35 Up or Down: Up