Ignore:
Timestamp:
Aug 18, 2000, 4:04:23 AM (25 years ago)
Author:
phaller
Message:

Shell32 update to WINE

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 sandervl Exp $ */
     1/* $Id: shell.h,v 1.4 2000-08-18 02:04:05 phaller Exp $ */
    22
    33/*
     
    99#include "windef.h"
    1010
     11#ifdef __cplusplus
     12extern "C" {
     13#endif /* defined(__cplusplus) */
    1114
    1215/****************************************************************************
     
    6770  BYTE  abID[1];/* first byte in this item */
    6871} SHITEMID,*LPSHITEMID;
     72typedef LPSHITEMID const LPCSHITEMID;
    6973
    7074typedef struct
     
    7781#define  SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList)
    7882
    79 
    80 
    81 /****************************************************************************
    82 * SHChangeNotifyRegister API
    83 */
    84 typedef struct
    85 { 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 
    9283/****************************************************************************
    9384* SHAddToRecentDocs API
     
    9990
    10091/****************************************************************************
    101 * SHGetSpecialFolderLocation API
    102 */
    103 HRESULT WINAPI SHGetSpecialFolderLocation(HWND, INT, LPITEMIDLIST *);
    104 /****************************************************************************
    105 *  string and path functions
    106 */
    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 /****************************************************************************
    18392*  other functions
    18493*/
    18594
    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) */
    21898
    21999#endif  /* __WINE_SHELL_H */
Note: See TracChangeset for help on using the changeset viewer.