Add get_short_path / get_long_path to windows.utils

This commit is contained in:
Clement Rouault
2016-05-03 11:23:38 +02:00
parent 10a803e9c9
commit 5c8125a9ff
4 changed files with 82 additions and 1 deletions
+24
View File
@@ -1306,3 +1306,27 @@ BOOL WINAPI GetProcessTimes(
_Out_ LPFILETIME lpKernelTime,
_Out_ LPFILETIME lpUserTime
);
DWORD WINAPI GetShortPathNameA(
_In_ LPCSTR lpszLongPath,
_Out_ LPCSTR lpszShortPath,
_In_ DWORD cchBuffer
);
DWORD WINAPI GetShortPathNameW(
_In_ LPWSTR lpszLongPath,
_Out_ LPWSTR lpszShortPath,
_In_ DWORD cchBuffer
);
DWORD WINAPI GetLongPathNameA(
_In_ LPCSTR lpszShortPath,
_Out_ LPCSTR lpszLongPath,
_In_ DWORD cchBuffer
);
DWORD WINAPI GetLongPathNameW(
_In_ LPWSTR lpszShortPath,
_Out_ LPWSTR lpszLongPath,
_In_ DWORD cchBuffer
);