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