GetShortPathName function kernel32
Retrieves the short path form of the specified path.
DWORD GetShortPathNameW(
[in] LPCWSTR lpszLongPath,
[out] LPWSTR lpszShortPath,
[in] DWORD cchBuffer
);
Implementation
int GetShortPathName(Pointer<Utf16> lpszLongPath, Pointer<Utf16> lpszShortPath,
int cchBuffer) =>
_GetShortPathName(lpszLongPath, lpszShortPath, cchBuffer);