SetFileAttributesA v0.1.0
Sets attributes for a file or directory.
Package: Windows
Microsoft documentation: SetFileAttributesA
Signature
func SetFileAttributesA(
fileName: *char8,
fileAttributes: uint32
) -> bool32;
fileName must be a null-terminated ANSI path. fileAttributes is a bitmask of
the Win32 FILE_ATTRIBUTE_* values; the normal-file flag must be used alone.
Returns nonzero on success or zero on failure.
See also
Windows— the package overviewGetFileAttributesA— retrieve attributes