Skip to content

WindowsApi:RemoveDirectory

폴더삭제.

Syntax

BOOL WINAPI RemoveDirectory(
  _In_ LPCTSTR lpPathName
);

Remarks

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.

See also

Favorite site