Sets the attributes of a named file.
BOOLEAN SetRtFileAttributes(
    LPCSTR lpFileName,
    DWORD dwFileAttributes
);
lpFileName 
dwFileAttributes 
| Attribute | Description | 
| FILE_ATTR_READONLY | File is read-only | 
| FILE_ATTR_HIDDEN | File is hidden | 
| FILE_ATTR_SYSTEM | File is marked as a system file | 
| FILE_ATTR_ARCHIVE | File is marked for archiving | 
| FILE_ATTR_NORMAL | File is a normal file (not a device nor a directory) | 
TRUE on success. FALSE on failure. Possible failures include the following (returned from GetLastRtError()):
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 6.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |