Du läser för närvarande dokumentationen för:
ECF_SetFileAttributes
The ECF_SetFileAttributes function sets the attributes of an open file.
ECF_ErrorCode ECF_SetFileAttributes(
   struct ECF_FileHandle *pFileHandle,
   uint8_t newAttributes
);
Parameters
pFileHandle
The handle of the open file previously obtained by ECF_OpenFile.
newAttributes
The attributes that will be set when the function returns.
ECF_ATTR_READ_ONLY:
Marks the file as read only. Note that EcFAT will currently not honour this flag when opening files.
ECF_ATTR_HIDDEN:
Marks the file as hidden.
ECF_ATTR_SYSTEM:
Marks the file as a system file.
ECF_ATTR_ARCHIVE:
Marks the file as archived.
Return value
Returns one of the EcFAT error codes (ECFERR_SUCCESS on success)
Remarks
Note that the attributes not passed in the newAttributes parameter will be cleared.