VM_RESULT vm_fs_set_attributes( VMCWSTR filename, VM_FS_ATTRIBUTE attributes );
VM_RESULT vm_fs_set_attributes( VMCWSTR filename, VM_FS_ATTRIBUTE attributes );
Sets the attributes for a file or directory as specified full path filename, encoded in UCS-2. The attributes can not include VM_FS_ATTRIBUTE_VOLUME, VM_FS_ATTRIBUTE_DIRECTORY, or VM_FS_LONGNAME_ATTRIBUTE. The value of attributes is the result of bitwise OR operation of individual attribute.
|
Parameters |
Description |
|
VMCWSTR filename |
[IN] The full path name of the file or directory, encoded in UCS-2. |
|
VM_FS_ATTRIBUTE attributes |
[IN] The bitwise OR of individual attribute. |
It returns 0, if the attributes were set successfully. If fails,
a negative value is returned. Refer to VM_FS_RESULT for error code.
vmfs.h
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.