GetFileAttributes function Null safety kernel32

int GetFileAttributes(
  1. Pointer<Utf16> lpFileName
)

Retrieves file system attributes for a specified file or directory.

DWORD GetFileAttributesW(
  LPCWSTR lpFileName
);

Implementation

int GetFileAttributes(Pointer<Utf16> lpFileName) =>
    _GetFileAttributes(lpFileName);