Sets the extended attributes byte for a file
#include <nwfinfo.h>
int SetExtendedFileAttributes (
char *filePath,
BYTE extendedFileAttributes);
(IN) Specifies the string containing the relative or absolute (including the volume name) path specification of the file whose extended attributes are being changed (maximum 255 characters, including the NULL terminator).
(IN) Specifies the new extended attributes for the file.
SetExtendedFileAttributes sets the extended file attributes for a file by passing a file path and an extended file attributes byte. The current connection must have Modify rights to the file.
SetExtendedFileAttributes overwrites the first byte of the existing file attributes with the value in the extendedFileAttributes parameter. The byte definition follows:
If the Transaction bit is set in the extendedFileAttributes parameter byte, TTS tracks all writes to the file during a transaction. A transaction file cannot be deleted or renamed until the transaction bit is turned off by calling SetExtendedFileAttributes.
NOTE:Do not confuse the first attributes byte with true extended attributes, which can be manipulated by calling the Extended Attribute functions.
The SetCurrentNameSpace function sets the name space which is used for parsing the path input to SetExtendedFileAttributes.
NOTE:For NetWare versions before 4.x, SetExtendedFileAttributes works only with the DOS name space for remote servers.