GetFileAttributesA v0.1.0
Retrieves attributes for a file or directory.
Package: Windows
Microsoft documentation: GetFileAttributesA
Signature
func GetFileAttributesA(
fileName: *char8
) -> uint32;
Returns
uint32 — an attribute bitmask on success or 0xFFFFFFFF on failure. Test
individual attributes with bitwise operations because several can be set.
See also
SetFileAttributesA— change attributesWindowstypes — shared type definitions