INtime SDK Help
DeleteRtFile
INtime SDK v7 > About INtime > INtime Kernel > Files > DeleteRtFile

Closes and deletes the file object created by a previous call to CreateRtFile.

BOOLEAN DeleteRtFile(
RTHANDLE hFile);

Parameters

hFile
A handle for a valid file object.

Remarks

Only the file object is deleted, not the file itself. To delete a file, see RemoveRtFile. If the file has been marked for deletion by a previous call to RemoveRtFile, and there are no more connections to the file, the file itself will be deleted.

Return value

TRUE on success. FALSE on failure.

Requirements

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

See Also