[This is preliminary documentation and is subject to change.]

Called to set the (Windows-Style) file attributes of a file/dir. FsExecuteFile(HWND__*, SByte*, SByte*) is called for Unix-style attributes.

Namespace: Tools.TotalCommanderT
Assembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[CLSCompliantAttribute(false)]
public int FsSetAttr(
	sbyte* RemoteName,
	int NewAttr
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<CLSCompliantAttribute(False)> _
Public Function FsSetAttr ( _
	RemoteName As SByte*, _
	NewAttr As Integer _
) As Integer
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[CLSCompliantAttribute(false)]
public:
int FsSetAttr(
	signed char* RemoteName, 
	int NewAttr
)
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<CLSCompliantAttribute(false)>]
member FsSetAttr : 
        RemoteName:nativeptr<sbyte> * 
        NewAttr:int -> int 
JScript
JScript does not support APIs that consume or return unsafe types.

Parameters

RemoteName
Type: System..::..SByte*
Name of the file/directory whose attributes have to be set
NewAttr
Type: System..::..Int32
New file attributes

Return Value

Return TRUE if successful, FALSE if the function failed.

Remarks

This function is called by Total Commander and is not intended for direct use

See Also