You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.9 KiB
63 lines
2.9 KiB
// no wrappers are needed on non-x86 since this is only for win9x interop
|
|
#ifdef _X86_
|
|
|
|
#define PathCleanupSpec _AorW_PathCleanupSpec
|
|
#define SHCLSIDFromString _AorW_SHCLSIDFromString
|
|
#define SHILCreateFromPath _AorW_SHILCreateFromPath
|
|
#define SHSimpleIDListFromPath _AorW_SHSimpleIDListFromPath
|
|
#define StrToOleStr _AorW_StrToOleStr
|
|
#define GetFileNameFromBrowse _AorW_GetFileNameFromBrowse
|
|
#define OpenRegStream _AorW_OpenRegStream
|
|
#define PathProcessCommand _AorW_PathProcessCommand
|
|
#define PathYetAnotherMakeUniqueName _AorW_PathYetAnotherMakeUniqueName
|
|
#define Shell_GetCachedImageIndex _AorW_Shell_GetCachedImageIndex
|
|
#define SHRunControlPanel _AorW_SHRunControlPanel
|
|
#define PickIconDlg _AorW_PickIconDlg
|
|
#define SHCreateDirectory _AorW_SHCreateDirectory
|
|
|
|
// The following functions were originally only TCHAR versions
|
|
// in Win95, but now have A/W versions. Since we still need to
|
|
// run on Win95, we need to treat them as TCHAR versions and
|
|
// undo the A/W #define
|
|
#ifdef ILCreateFromPath
|
|
#undef ILCreateFromPath
|
|
#endif
|
|
#define ILCreateFromPath _AorW_ILCreateFromPath
|
|
|
|
#ifdef SHGetSpecialFolderPath
|
|
#undef SHGetSpecialFolderPath
|
|
#endif
|
|
#define SHGetSpecialFolderPath _AorW_SHGetSpecialFolderPath
|
|
|
|
// Define the prototypes for each of these forwarders...
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" { /* Assume C declarations for C++ */
|
|
#endif /* __cplusplus */
|
|
extern int _AorW_Shell_GetCachedImageIndex(LPCTSTR pszIconPath, int iIconIndex, UINT uIconFlags);
|
|
extern int _AorW_SHRunControlPanel(LPCTSTR pszOrig_cmdline, HWND errwnd);
|
|
extern LPITEMIDLIST _AorW_ILCreateFromPath(LPCTSTR pszPath);
|
|
extern int _AorW_PathCleanupSpec(LPCTSTR pszDir, LPTSTR pszSpec);
|
|
extern LONG WINAPI _AorW_PathProcessCommand(LPCTSTR lpSrc, LPTSTR lpDest, int iDestMax, DWORD dwFlags);
|
|
extern HRESULT _AorW_SHCLSIDFromString(LPCTSTR lpsz, LPCLSID lpclsid);
|
|
extern BOOL _AorW_SHGetSpecialFolderPath(HWND hwndOwner, LPTSTR pszPath, int nFolder, BOOL fCreate);
|
|
extern HRESULT _AorW_SHILCreateFromPath(LPCTSTR pszPath, LPITEMIDLIST *ppidl, DWORD *rgfInOut);
|
|
extern LPITEMIDLIST _AorW_SHSimpleIDListFromPath(LPCTSTR pszPath);
|
|
extern BOOL WINAPI _AorW_GetFileNameFromBrowse(HWND hwnd, LPTSTR szFilePath, UINT cchFilePath,
|
|
LPCTSTR szWorkingDir, LPCTSTR szDefExt, LPCTSTR szFilters, LPCTSTR szTitle);
|
|
extern IStream * _AorW_OpenRegStream(HKEY hkey, LPCTSTR pszSubkey, LPCTSTR pszValue, DWORD grfMode);
|
|
|
|
extern BOOL _AorW_PathYetAnotherMakeUniqueName(LPTSTR pszUniqueName,
|
|
LPCTSTR pszPath,
|
|
LPCTSTR pszShort,
|
|
LPCTSTR pszFileSpec);
|
|
|
|
extern int _AorW_PickIconDlg(HWND hwnd, LPTSTR pszIconPath, UINT cchIconPath, int * piIconIndex);
|
|
extern int _AorW_SHCreateDirectory(HWND hwnd, LPCTSTR pszPath);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
#endif // _X86_
|