Always call LISTVIEW_SetSelection() for an item, even if that item
[wine/hacks.git] / include / shlwapi.h
blob28202c016a8c97e8ead3275a67439d6f3b058750
1 #ifndef __WINE_SHLWAPI_H
2 #define __WINE_SHLWAPI_H
4 #include "windef.h"
5 #include "wine/obj_queryassociations.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* defined(__cplusplus) */
11 BOOL WINAPI PathAppendA(LPSTR lpszPath1,LPCSTR lpszPath2);
12 BOOL WINAPI PathAppendW(LPWSTR lpszPath1,LPCWSTR lpszPath2);
14 LPSTR WINAPI PathBuildRootA(LPSTR lpszPath, int drive);
15 LPWSTR WINAPI PathBuildRootW(LPWSTR lpszPath, int drive);
17 LPSTR WINAPI PathGetArgsA(LPCSTR lpszPath);
18 LPWSTR WINAPI PathGetArgsW(LPCWSTR lpszPath);
20 BOOL WINAPI PathRemoveFileSpecA(LPSTR lpszPath);
21 BOOL WINAPI PathRemoveFileSpecW(LPWSTR lpszPath);
23 void WINAPI PathStripPathA(LPSTR lpszPath);
24 void WINAPI PathStripPathW(LPWSTR lpszPath);
26 void WINAPI PathRemoveArgsA(LPSTR lpszPath);
27 void WINAPI PathRemoveArgsW(LPWSTR lpszPath);
29 void WINAPI PathRemoveExtensionA(LPSTR lpszPath);
30 void WINAPI PathRemoveExtensionW(LPWSTR lpszPath);
32 void WINAPI PathUnquoteSpacesA(LPSTR str);
33 void WINAPI PathUnquoteSpacesW(LPWSTR str);
35 int WINAPI PathParseIconLocationA(LPSTR lpszPath);
36 int WINAPI PathParseIconLocationW(LPWSTR lpszPath);
38 BOOL WINAPI PathIsDirectoryA(LPCSTR lpszPath);
39 BOOL WINAPI PathIsDirectoryW(LPCWSTR lpszPath);
41 BOOL WINAPI PathFileExistsA(LPCSTR lpszPath);
42 BOOL WINAPI PathFileExistsW(LPCWSTR lpszPath);
44 BOOL WINAPI PathIsSameRootA(LPCSTR lpszPath1, LPCSTR lpszPath2);
45 BOOL WINAPI PathIsSameRootW(LPCWSTR lpszPath1, LPCWSTR lpszPath2);
47 BOOL WINAPI PathSetDlgItemPathA(HWND hDlg, int id, LPCSTR pszPath);
48 BOOL WINAPI PathSetDlgItemPathW(HWND hDlg, int id, LPCWSTR pszPath);
50 LPSTR WINAPI PathFindFileNameA(LPCSTR pPath);
51 LPWSTR WINAPI PathFindFileNameW(LPCWSTR pPath);
52 #define PathFindFileName WINELIB_NAME_AW(PathFindFileName)
53 LPVOID WINAPI PathFindFileNameAW(LPCVOID path);
55 int WINAPI PathGetDriveNumberA(LPCSTR lpszPath);
56 int WINAPI PathGetDriveNumberW(LPCWSTR lpszPath);
57 #define PathGetDriveNumber WINELIB_NAME_AW(PathGetDriveNumber)
59 BOOL WINAPI PathCanonicalizeA(LPSTR lpszDst, LPCSTR lpszSrc);
60 BOOL WINAPI PathCanonicalizeW(LPWSTR lpszDst, LPCWSTR lpszSrc);
61 #define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize)
63 LPSTR WINAPI PathFindNextComponentA(LPCSTR pszPath);
64 LPWSTR WINAPI PathFindNextComponentW(LPCWSTR pszPath);
65 #define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent)
67 BOOL WINAPI PathIsURLA(LPCSTR pszPath);
68 BOOL WINAPI PathIsURLW(LPCWSTR pszPath);
69 #define PathIsURL WINELIB_NAME_AW(PathIsURL)
71 BOOL WINAPI PathAddExtensionA(LPSTR pszPath, LPCSTR pszExt);
72 BOOL WINAPI PathAddExtensionW(LPWSTR pszPath, LPCWSTR pszExt);
73 #define PathAddExtension WINELIB_NAME_AW(PathAddExtension)
75 BOOL WINAPI PathStripToRootA(LPSTR pszPath);
76 BOOL WINAPI PathStripToRootW(LPWSTR pszPath);
77 #define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot)
79 LPSTR WINAPI StrChrA(LPCSTR lpStart, WORD wMatch);
80 LPWSTR WINAPI StrChrW(LPCWSTR lpStart, WCHAR wMatch);
81 #define StrChr WINELIB_NAME_AW(StrChr)
83 void WINAPI PathRemoveBlanksA(LPSTR lpszPath);
84 void WINAPI PathRemoveBlanksW(LPWSTR lpszPath);
85 #define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks)
86 void WINAPI PathRemoveBlanksAW(LPVOID lpszPath);
88 #ifdef __cplusplus
89 } /* extern "C" */
90 #endif /* defined(__cplusplus) */
92 #endif /* __WINE_SHLWAPI_H */