GetFullPathName function Null safety kernel32

int GetFullPathName(
  1. Pointer<Utf16> lpFileName,
  2. int nBufferLength,
  3. Pointer<Utf16> lpBuffer,
  4. Pointer<Pointer<Utf16>> lpFilePart
)

Retrieves the full path and file name of the specified file.

DWORD GetFullPathNameW(
  LPCWSTR lpFileName,
  DWORD   nBufferLength,
  LPWSTR  lpBuffer,
  LPWSTR  *lpFilePart
);

Implementation

int GetFullPathName(Pointer<Utf16> lpFileName, int nBufferLength,
        Pointer<Utf16> lpBuffer, Pointer<Pointer<Utf16>> lpFilePart) =>
    _GetFullPathName(lpFileName, nBufferLength, lpBuffer, lpFilePart);