FsSetAttr
FsSetAttr is called to set the (Windows-Style) file attributes of a file/dir. FsExecuteFile is called for Unix-style attributes.
 
Declaration:
 
BOOL __stdcall FsSetAttr(char* RemoteName,int NewAttr);
 
Description of parameters:
 
RemoteName Name of the file/directory whose attributes have to be set
 
NewAttr New file attributes. These are a commbination of the following standard file attributes:
FILE_ATTRIBUTE_READONLY 0x01
FILE_ATTRIBUTE_HIDDEN 0x02
FILE_ATTRIBUTE_SYSTEM 0x04
FILE_ATTRIBUTE_ARCHIVE 0x20
 
 
Return value:
Return TRUE if successful, FALSE if the function failed. Do NOT export this function if it isn't supported by your plugin!
 
See also: FsExecuteFile