Juergen Schmied | 51c74d8 | 2000-04-28 20:23:46 +0000 | [diff] [blame] | 1 | #ifndef __WINE_SHLWAPI_H |
| 2 | #define __WINE_SHLWAPI_H |
| 3 | |
| 4 | #include "windef.h" |
| 5 | #include "wine/obj_queryassociations.h" |
| 6 | |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif /* defined(__cplusplus) */ |
| 10 | |
Patrik Stridvall | d7742bd | 2000-07-28 22:22:03 +0000 | [diff] [blame] | 11 | BOOL WINAPI PathAppendA(LPSTR lpszPath1,LPCSTR lpszPath2); |
| 12 | BOOL WINAPI PathAppendW(LPWSTR lpszPath1,LPCWSTR lpszPath2); |
| 13 | |
| 14 | LPSTR WINAPI PathBuildRootA(LPSTR lpszPath, int drive); |
| 15 | LPWSTR WINAPI PathBuildRootW(LPWSTR lpszPath, int drive); |
| 16 | |
| 17 | LPSTR WINAPI PathGetArgsA(LPCSTR lpszPath); |
| 18 | LPWSTR WINAPI PathGetArgsW(LPCWSTR lpszPath); |
| 19 | |
| 20 | BOOL WINAPI PathRemoveFileSpecA(LPSTR lpszPath); |
| 21 | BOOL WINAPI PathRemoveFileSpecW(LPWSTR lpszPath); |
| 22 | |
| 23 | void WINAPI PathStripPathA(LPSTR lpszPath); |
| 24 | void WINAPI PathStripPathW(LPWSTR lpszPath); |
| 25 | |
| 26 | void WINAPI PathRemoveArgsA(LPSTR lpszPath); |
| 27 | void WINAPI PathRemoveArgsW(LPWSTR lpszPath); |
| 28 | |
| 29 | void WINAPI PathRemoveExtensionA(LPSTR lpszPath); |
| 30 | void WINAPI PathRemoveExtensionW(LPWSTR lpszPath); |
| 31 | |
| 32 | void WINAPI PathUnquoteSpacesA(LPSTR str); |
| 33 | void WINAPI PathUnquoteSpacesW(LPWSTR str); |
| 34 | |
| 35 | int WINAPI PathParseIconLocationA(LPSTR lpszPath); |
| 36 | int WINAPI PathParseIconLocationW(LPWSTR lpszPath); |
| 37 | |
| 38 | BOOL WINAPI PathIsExeA(LPCSTR lpszPath); |
| 39 | BOOL WINAPI PathIsExeW(LPCWSTR lpszPath); |
| 40 | |
| 41 | BOOL WINAPI PathIsDirectoryA(LPCSTR lpszPath); |
| 42 | BOOL WINAPI PathIsDirectoryW(LPCWSTR lpszPath); |
| 43 | |
| 44 | BOOL WINAPI PathFileExistsA(LPCSTR lpszPath); |
| 45 | BOOL WINAPI PathFileExistsW(LPCWSTR lpszPath); |
| 46 | |
| 47 | BOOL WINAPI PathIsSameRootA(LPCSTR lpszPath1, LPCSTR lpszPath2); |
| 48 | BOOL WINAPI PathIsSameRootW(LPCWSTR lpszPath1, LPCWSTR lpszPath2); |
| 49 | |
| 50 | BOOL WINAPI PathSetDlgItemPathA(HWND hDlg, int id, LPCSTR pszPath); |
| 51 | BOOL WINAPI PathSetDlgItemPathW(HWND hDlg, int id, LPCWSTR pszPath); |
| 52 | |
Juergen Schmied | 51c74d8 | 2000-04-28 20:23:46 +0000 | [diff] [blame] | 53 | LPSTR WINAPI PathFindFileNameA(LPCSTR pPath); |
| 54 | LPWSTR WINAPI PathFindFileNameW(LPCWSTR pPath); |
| 55 | #define PathFindFileName WINELIB_NAME_AW(PathFindFileName) |
| 56 | LPVOID WINAPI PathFindFileNameAW(LPCVOID path); |
| 57 | |
| 58 | int WINAPI PathGetDriveNumberA(LPCSTR lpszPath); |
| 59 | int WINAPI PathGetDriveNumberW(LPCWSTR lpszPath); |
| 60 | #define PathGetDriveNumber WINELIB_NAME_AW(PathGetDriveNumber) |
| 61 | |
| 62 | BOOL WINAPI PathCanonicalizeA(LPSTR lpszDst, LPCSTR lpszSrc); |
| 63 | BOOL WINAPI PathCanonicalizeW(LPWSTR lpszDst, LPCWSTR lpszSrc); |
| 64 | #define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize) |
| 65 | |
| 66 | LPSTR WINAPI PathFindNextComponentA(LPCSTR pszPath); |
| 67 | LPWSTR WINAPI PathFindNextComponentW(LPCWSTR pszPath); |
| 68 | #define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent) |
| 69 | |
| 70 | BOOL WINAPI PathIsURLA(LPCSTR pszPath); |
| 71 | BOOL WINAPI PathIsURLW(LPCWSTR pszPath); |
| 72 | #define PathIsURL WINELIB_NAME_AW(PathIsURL) |
| 73 | |
Juergen Schmied | 0d18aad | 2000-06-01 23:25:44 +0000 | [diff] [blame] | 74 | BOOL WINAPI PathAddExtensionA(LPSTR pszPath, LPCSTR pszExt); |
| 75 | BOOL WINAPI PathAddExtensionW(LPWSTR pszPath, LPCWSTR pszExt); |
| 76 | #define PathAddExtension WINELIB_NAME_AW(PathAddExtension) |
| 77 | |
| 78 | BOOL WINAPI PathStripToRootA(LPSTR pszPath); |
| 79 | BOOL WINAPI PathStripToRootW(LPWSTR pszPath); |
| 80 | #define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot) |
| 81 | |
Juergen Schmied | 13d74c5 | 2000-06-13 03:45:52 +0000 | [diff] [blame] | 82 | LPSTR WINAPI StrChrA(LPCSTR lpStart, WORD wMatch); |
| 83 | LPWSTR WINAPI StrChrW(LPCWSTR lpStart, WCHAR wMatch); |
| 84 | #define StrChr WINELIB_NAME_AW(StrChr) |
| 85 | |
Juergen Schmied | 1dbf403d | 2000-06-24 12:56:08 +0000 | [diff] [blame] | 86 | void WINAPI PathRemoveBlanksA(LPSTR lpszPath); |
| 87 | void WINAPI PathRemoveBlanksW(LPWSTR lpszPath); |
| 88 | #define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks) |
| 89 | void WINAPI PathRemoveBlanksAW(LPVOID lpszPath); |
| 90 | |
Juergen Schmied | 51c74d8 | 2000-04-28 20:23:46 +0000 | [diff] [blame] | 91 | #ifdef __cplusplus |
| 92 | } /* extern "C" */ |
| 93 | #endif /* defined(__cplusplus) */ |
| 94 | |
| 95 | #endif /* __WINE_SHLWAPI_H */ |