Home |
Function RTFSetAttributes |
Function RTFSetAttributesRTFSetAttributes assigns a new set of attributes to a given file: int RTFSetAttributes(const char * FileName, BYTE Attributes); ParametersFileNameThe name of the file for which to set the new attributes. AttributesCan be a combination of the following values:
An attempt to set attributes RTF_ATTR_VOLUME, RTF_ATTR_DIR, or RTF_ATTR_CONTIG will cause this function to fail. return valueIf the function succeeds, the return value is RTF_NO_ERROR. If the function fails, the return value is a negative error code.
|