GetLongPathName function kernel32

int GetLongPathName(
  1. Pointer<Utf16> lpszShortPath,
  2. Pointer<Utf16> lpszLongPath,
  3. int cchBuffer
)

Converts the specified path to its long form.

DWORD GetLongPathNameW(
  [in]  LPCWSTR lpszShortPath,
  [out] LPWSTR  lpszLongPath,
  [in]  DWORD   cchBuffer
);

Implementation

int GetLongPathName(
  Pointer<Utf16> lpszShortPath,
  Pointer<Utf16> lpszLongPath,
  int cchBuffer,
) => _GetLongPathName(lpszShortPath, lpszLongPath, cchBuffer);