Changeset 3242 for trunk/include/win/shell.h
- Timestamp:
- Mar 26, 2000, 6:32:33 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/shell.h
r4 r3242 1 /* $Id: shell.h,v 1. 1 1999-05-24 20:19:19 ktkExp $ */1 /* $Id: shell.h,v 1.2 2000-03-26 16:29:40 cbratschi Exp $ */ 2 2 3 3 /* 4 * 4 * Shell Library definitions 5 5 */ 6 6 #ifndef __WINE_SHELL_H … … 19 19 /* global functions used from shell32 */ 20 20 extern HINSTANCE SHELL_FindExecutable(LPCSTR,LPCSTR ,LPSTR); 21 extern HGLOBAL 16 WINAPI InternalExtractIcon16(HINSTANCE16,LPCSTR,UINT16,WORD);21 extern HGLOBAL WINAPI InternalExtractIcon(HINSTANCE,LPCSTR,UINT,WORD); 22 22 23 23 /**************************************************************************** … … 25 25 */ 26 26 /**************************************************************************** 27 * common return codes 27 * common return codes 28 28 */ 29 29 #define SHELL_ERROR_SUCCESS 0L … … 38 38 39 39 /**************************************************************************** 40 * common shell file structures 40 * common shell file structures 41 41 */ 42 42 /****************************** 43 43 * DRAG&DROP API 44 44 */ 45 typedef struct { /* structure for dropped files */46 WORDwSize;47 POINT16 ptMousePos; 48 BOOL16fInNonClientArea;49 /* memory block with filenames follows */ 50 } DROPFILESTRUCT16, *LPDROPFILESTRUCT16; 51 52 typedef struct { /* structure for dropped files */53 DWORDlSize;54 POINT ptMousePos; 55 BOOLfInNonClientArea;45 typedef struct { /* structure for dropped files */ 46 WORD wSize; 47 POINT16 ptMousePos; 48 BOOL16 fInNonClientArea; 49 /* memory block with filenames follows */ 50 } DROPFILESTRUCT16, *LPDROPFILESTRUCT16; 51 52 typedef struct { /* structure for dropped files */ 53 DWORD lSize; 54 POINT ptMousePos; 55 BOOL fInNonClientArea; 56 56 BOOL fWideChar; 57 /* memory block with filenames follows */ 58 } DROPFILESTRUCT, *LPDROPFILESTRUCT; 59 60 61 /**************************************************************************** 62 * SHITEMID, ITEMIDLIST, PIDL API 57 /* memory block with filenames follows */ 58 } DROPFILESTRUCT, *LPDROPFILESTRUCT; 59 60 61 /**************************************************************************** 62 * SHITEMID, ITEMIDLIST, PIDL API 63 63 */ 64 64 #include "pshpack1.h" 65 typedef struct 66 { WORD cb;/* nr of bytes in this item */67 BYTE 65 typedef struct 66 { WORD cb; /* nr of bytes in this item */ 67 BYTE abID[1];/* first byte in this item */ 68 68 } SHITEMID,*LPSHITEMID; 69 69 70 typedef struct 70 typedef struct 71 71 { SHITEMID mkid; /* first itemid in list */ 72 72 } ITEMIDLIST,*LPITEMIDLIST,*LPCITEMIDLIST; … … 110 110 BOOL WINAPI PathIsRootAW(LPCVOID x); 111 111 112 LPSTR WINAPI PathAddBackslashA(LPSTR path); 113 LPWSTR WINAPI PathAddBackslashW(LPWSTR path); 112 LPSTR WINAPI PathAddBackslashA(LPSTR path); 113 LPWSTR WINAPI PathAddBackslashW(LPWSTR path); 114 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); 115 LPVOID WINAPI PathAddBackslashAW(LPVOID path); 116 117 BOOL WINAPI PathQualifyA(LPCSTR path); 118 BOOL WINAPI PathQualifyW(LPCWSTR path); 119 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); 120 BOOL WINAPI PathQualifyAW(LPCVOID path); 121 122 LPSTR WINAPI PathQuoteSpacesA(LPCSTR path); 123 LPWSTR WINAPI PathQuoteSpacesW(LPCWSTR path); 124 124 #define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces) 125 LPVOID WINAPI PathQuoteSpacesAW(LPCVOID path); 125 LPVOID WINAPI PathQuoteSpacesAW(LPCVOID path); 126 126 127 127 LPSTR WINAPI PathCombineA(LPSTR szDest, LPCSTR lpszDir, LPCSTR lpszFile); … … 133 133 LPCWSTR WINAPI PathFindExtensionW(LPCWSTR path); 134 134 #define PathFindExtension WINELIB_NAME_AW(PathFindExtension) 135 LPCVOID WINAPI PathFindExtensionAW(LPCVOID path); 135 LPCVOID WINAPI PathFindExtensionAW(LPCVOID path); 136 136 137 137 LPCSTR WINAPI PathGetExtensionA(LPCSTR path, DWORD y, DWORD x); 138 138 LPCWSTR WINAPI PathGetExtensionW(LPCWSTR path, DWORD y, DWORD x); 139 139 #define PathGetExtension WINELIB_NAME_AW(PathGetExtension) 140 LPCVOID WINAPI PathGetExtensionAW(LPCVOID path, DWORD y, DWORD x); 140 LPCVOID WINAPI PathGetExtensionAW(LPCVOID path, DWORD y, DWORD x); 141 141 142 142 LPCSTR WINAPI PathFindFilenameA(LPCSTR path); 143 143 LPCWSTR WINAPI PathFindFilenameW(LPCWSTR path); 144 144 #define PathFindFilename WINELIB_NAME_AW(PathFindFilename) 145 LPCVOID WINAPI PathFindFilenameAW(LPCVOID path); 145 LPCVOID WINAPI PathFindFilenameAW(LPCVOID path); 146 146 147 147 BOOL WINAPI PathMatchSpecA(LPCSTR x, LPCSTR y); … … 174 174 #define StrFormatByteSize WINELIB_NAME_AW(StrFormatByteSize) 175 175 176 BOOL WINAPI PathIsURLA(LPCSTR str); 177 176 178 /**************************************************************************** 177 179 * other functions … … 181 183 DWORD WINAPI SHFree(LPVOID x); 182 184 183 #define CSIDL_DESKTOP0x0000184 #define CSIDL_PROGRAMS0x0002185 #define CSIDL_CONTROLS0x0003186 #define CSIDL_PRINTERS0x0004187 #define CSIDL_PERSONAL0x0005188 #define CSIDL_FAVORITES0x0006189 #define CSIDL_STARTUP0x0007190 #define CSIDL_RECENT0x0008191 #define CSIDL_SENDTO0x0009192 #define CSIDL_BITBUCKET0x000a193 #define CSIDL_STARTMENU0x000b194 #define CSIDL_DESKTOPDIRECTORY0x0010195 #define CSIDL_DRIVES0x0011196 #define CSIDL_NETWORK0x0012197 #define CSIDL_NETHOOD0x0013198 #define CSIDL_FONTS0x0014199 #define CSIDL_TEMPLATES0x0015200 #define CSIDL_COMMON_STARTMENU 201 #define CSIDL_COMMON_PROGRAMS 202 #define CSIDL_COMMON_STARTUP 203 #define CSIDL_COMMON_DESKTOPDIRECTORY 204 #define CSIDL_APPDATA 205 #define CSIDL_PRINTHOOD 206 #define CSIDL_ALTSTARTUP 207 #define CSIDL_COMMON_ALTSTARTUP 185 #define CSIDL_DESKTOP 0x0000 186 #define CSIDL_PROGRAMS 0x0002 187 #define CSIDL_CONTROLS 0x0003 188 #define CSIDL_PRINTERS 0x0004 189 #define CSIDL_PERSONAL 0x0005 190 #define CSIDL_FAVORITES 0x0006 191 #define CSIDL_STARTUP 0x0007 192 #define CSIDL_RECENT 0x0008 193 #define CSIDL_SENDTO 0x0009 194 #define CSIDL_BITBUCKET 0x000a 195 #define CSIDL_STARTMENU 0x000b 196 #define CSIDL_DESKTOPDIRECTORY 0x0010 197 #define CSIDL_DRIVES 0x0011 198 #define CSIDL_NETWORK 0x0012 199 #define CSIDL_NETHOOD 0x0013 200 #define CSIDL_FONTS 0x0014 201 #define CSIDL_TEMPLATES 0x0015 202 #define CSIDL_COMMON_STARTMENU 0x0016 203 #define CSIDL_COMMON_PROGRAMS 0X0017 204 #define CSIDL_COMMON_STARTUP 0x0018 205 #define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019 206 #define CSIDL_APPDATA 0x001a 207 #define CSIDL_PRINTHOOD 0x001b 208 #define CSIDL_ALTSTARTUP 0x001d 209 #define CSIDL_COMMON_ALTSTARTUP 0x001e 208 210 #define CSIDL_COMMON_FAVORITES 0x001f 209 #define CSIDL_INTERNET_CACHE 210 #define CSIDL_COOKIES 211 #define CSIDL_HISTORY 211 #define CSIDL_INTERNET_CACHE 0x0020 212 #define CSIDL_COOKIES 0x0021 213 #define CSIDL_HISTORY 0x0022 212 214 213 215 #endif /* __WINE_SHELL_H */
Note:
See TracChangeset
for help on using the changeset viewer.