INtime SDK Help
RemoveRtDirectory
INtime SDK v7.1 > About INtime > INtime Kernel > Files > RemoveRtDirectory

Deletes an existing empty directory.

BOOLEAN RemoveRtDirectory(
    LPCTSTR lpPathName
);

Parameters

lpPathName
The pathname of the directory to remove. This path must specify an empty directory.

Return values

TRUE on success. FALSE on failure. The error status may be returned by calling GetLastRtError.

Remarks

The RemoveRtDirectory function marks a directory for deletion on close. The directory is not actually removed until the last handle to the directory is closed.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also