Changeset 4033 for trunk/include/win/shell.h
- Timestamp:
- Aug 18, 2000, 4:04:23 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/shell.h
r3553 r4033 1 /* $Id: shell.h,v 1. 3 2000-05-18 18:06:13 sandervlExp $ */1 /* $Id: shell.h,v 1.4 2000-08-18 02:04:05 phaller Exp $ */ 2 2 3 3 /* … … 9 9 #include "windef.h" 10 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif /* defined(__cplusplus) */ 11 14 12 15 /**************************************************************************** … … 67 70 BYTE abID[1];/* first byte in this item */ 68 71 } SHITEMID,*LPSHITEMID; 72 typedef LPSHITEMID const LPCSHITEMID; 69 73 70 74 typedef struct … … 77 81 #define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList) 78 82 79 80 81 /****************************************************************************82 * SHChangeNotifyRegister API83 */84 typedef struct85 { LPITEMIDLIST pidl;86 DWORD unknown;87 } IDSTRUCT;88 89 DWORD WINAPI SHChangeNotifyRegister(HWND hwnd,LONG events1,LONG events2,DWORD msg,int count,IDSTRUCT *idlist);90 DWORD WINAPI SHChangeNotifyDeregister(LONG x1);91 92 83 /**************************************************************************** 93 84 * SHAddToRecentDocs API … … 99 90 100 91 /**************************************************************************** 101 * SHGetSpecialFolderLocation API102 */103 HRESULT WINAPI SHGetSpecialFolderLocation(HWND, INT, LPITEMIDLIST *);104 /****************************************************************************105 * string and path functions106 */107 BOOL WINAPI PathIsRootA(LPCSTR x);108 BOOL WINAPI PathIsRootW(LPCWSTR x);109 #define PathIsRoot WINELIB_NAME_AW(PathIsRoot)110 BOOL WINAPI PathIsRootAW(LPCVOID x);111 112 LPSTR WINAPI PathAddBackslashA(LPSTR path);113 LPWSTR WINAPI PathAddBackslashW(LPWSTR path);114 #define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)115 LPVOID WINAPI PathAddBackslashAW(LPVOID path);116 117 BOOL WINAPI PathQualifyA(LPCSTR path);118 BOOL WINAPI PathQualifyW(LPCWSTR path);119 #define PathQualify WINELIB_NAME_AW(PathQualify)120 BOOL WINAPI PathQualifyAW(LPCVOID path);121 122 LPSTR WINAPI PathQuoteSpacesA(LPCSTR path);123 LPWSTR WINAPI PathQuoteSpacesW(LPCWSTR path);124 #define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces)125 LPVOID WINAPI PathQuoteSpacesAW(LPCVOID path);126 127 LPSTR WINAPI PathCombineA(LPSTR szDest, LPCSTR lpszDir, LPCSTR lpszFile);128 LPWSTR WINAPI PathCombineW(LPWSTR szDest, LPCWSTR lpszDir, LPCWSTR lpszFile);129 #define PathCombine WINELIB_NAME_AW(PathCombine)130 LPVOID WINAPI PathCombineAW(LPVOID szDest, LPCVOID lpszDir, LPCVOID lpszFile);131 132 LPSTR WINAPI PathFindExtensionA(LPCSTR path);133 LPWSTR WINAPI PathFindExtensionW(LPCWSTR path);134 #define PathFindExtension WINELIB_NAME_AW(PathFindExtension)135 LPVOID WINAPI PathFindExtensionAW(LPCVOID path);136 137 LPSTR WINAPI PathGetExtensionA(LPCSTR path);138 LPWSTR WINAPI PathGetExtensionW(LPCWSTR path);139 #define PathGetExtension WINELIB_NAME_AW(PathGetExtension)140 LPVOID WINAPI PathGetExtensionAW(LPCVOID path);141 142 LPSTR WINAPI PathRemoveBackslashA(LPSTR lpszPath);143 LPWSTR WINAPI PathRemoveBackslashW(LPWSTR lpszPath);144 #define PathRemoveBackslash WINELIB_NAME_AW(PathRemoveBackslash)145 146 LPSTR WINAPI PathFindFileNameA(LPCSTR path);147 LPWSTR WINAPI PathFindFileNameW(LPCWSTR path);148 #define PathFindFileName WINELIB_NAME_AW(PathFindFileName)149 LPVOID WINAPI PathFindFileNameAW(LPCVOID path);150 151 BOOL WINAPI PathMatchSpecA(LPCSTR x, LPCSTR y);152 BOOL WINAPI PathMatchSpecW(LPCWSTR x, LPCWSTR y);153 #define PathMatchSpec WINELIB_NAME_AW(PathMatchSpec)154 BOOL WINAPI PathMatchSpecAW(LPVOID x, LPVOID y);155 156 LPSTR WINAPI PathRemoveBlanksA(LPSTR str);157 LPWSTR WINAPI PathRemoveBlanksW(LPWSTR str);158 #define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks)159 LPVOID WINAPI PathRemoveBlanksAW(LPVOID str);160 161 BOOL WINAPI PathIsRelativeA(LPCSTR str);162 BOOL WINAPI PathIsRelativeW(LPCWSTR str);163 #define PathIsRelative WINELIB_NAME_AW(PathIsRelative)164 BOOL WINAPI PathIsRelativeAW(LPCVOID str);165 166 BOOL WINAPI PathIsUNCA(LPCSTR str);167 BOOL WINAPI PathIsUNCW(LPCWSTR str);168 #define PathIsUNC WINELIB_NAME_AW(PathIsUNC)169 BOOL WINAPI PathIsUNCAW(LPCVOID str);170 171 BOOL WINAPI PathFindOnPathA(LPSTR sFile, LPCSTR sOtherDirs);172 BOOL WINAPI PathFindOnPathW(LPWSTR sFile, LPCWSTR sOtherDirs);173 #define PathFindOnPath WINELIB_NAME_AW(PathFindOnPath)174 BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs);175 176 LPSTR WINAPI StrFormatByteSizeA ( DWORD dw, LPSTR pszBuf, UINT cchBuf );177 LPWSTR WINAPI StrFormatByteSizeW ( DWORD dw, LPWSTR pszBuf, UINT cchBuf );178 #define StrFormatByteSize WINELIB_NAME_AW(StrFormatByteSize)179 180 BOOL WINAPI PathIsURLA(LPCSTR str);181 182 /****************************************************************************183 92 * other functions 184 93 */ 185 94 186 LPVOID WINAPI SHAlloc(DWORD len); 187 DWORD WINAPI SHFree(LPVOID x); 188 189 #define CSIDL_DESKTOP 0x0000 190 #define CSIDL_PROGRAMS 0x0002 191 #define CSIDL_CONTROLS 0x0003 192 #define CSIDL_PRINTERS 0x0004 193 #define CSIDL_PERSONAL 0x0005 194 #define CSIDL_FAVORITES 0x0006 195 #define CSIDL_STARTUP 0x0007 196 #define CSIDL_RECENT 0x0008 197 #define CSIDL_SENDTO 0x0009 198 #define CSIDL_BITBUCKET 0x000a 199 #define CSIDL_STARTMENU 0x000b 200 #define CSIDL_DESKTOPDIRECTORY 0x0010 201 #define CSIDL_DRIVES 0x0011 202 #define CSIDL_NETWORK 0x0012 203 #define CSIDL_NETHOOD 0x0013 204 #define CSIDL_FONTS 0x0014 205 #define CSIDL_TEMPLATES 0x0015 206 #define CSIDL_COMMON_STARTMENU 0x0016 207 #define CSIDL_COMMON_PROGRAMS 0X0017 208 #define CSIDL_COMMON_STARTUP 0x0018 209 #define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019 210 #define CSIDL_APPDATA 0x001a 211 #define CSIDL_PRINTHOOD 0x001b 212 #define CSIDL_ALTSTARTUP 0x001d 213 #define CSIDL_COMMON_ALTSTARTUP 0x001e 214 #define CSIDL_COMMON_FAVORITES 0x001f 215 #define CSIDL_INTERNET_CACHE 0x0020 216 #define CSIDL_COOKIES 0x0021 217 #define CSIDL_HISTORY 0x0022 95 #ifdef __cplusplus 96 } /* extern "C" */ 97 #endif /* defined(__cplusplus) */ 218 98 219 99 #endif /* __WINE_SHELL_H */
Note:
See TracChangeset
for help on using the changeset viewer.