SetFileAttributesA v0.1.0

Source
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