GetFinalPathNameByHandle function Null safety kernel32

int GetFinalPathNameByHandle(
  1. int hFile,
  2. Pointer<Utf16> lpszFilePath,
  3. int cchFilePath,
  4. int dwFlags
)

Retrieves the final path for the specified file.

DWORD GetFinalPathNameByHandleW(
  HANDLE hFile,
  LPWSTR lpszFilePath,
  DWORD  cchFilePath,
  DWORD  dwFlags
);

Implementation

int GetFinalPathNameByHandle(
        int hFile, Pointer<Utf16> lpszFilePath, int cchFilePath, int dwFlags) =>
    _GetFinalPathNameByHandle(hFile, lpszFilePath, cchFilePath, dwFlags);