af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) the Wine project
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * a choice of LGPL license versions is made available with the language indicating
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern "C" {
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* defined(__cplusplus) */
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * DragObject
af062818b47340eef15700d2f0211576ba3506eevboxsyncUINT WINAPI DragQueryFileA(HDROP hDrop, UINT lFile, LPSTR lpszFile, UINT lLength);
af062818b47340eef15700d2f0211576ba3506eevboxsyncUINT WINAPI DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszFile, UINT lLength);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DragQueryFile WINELIB_NAME_AW(DragQueryFile)
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Application Bar
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * SHGetFileInfo
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_LARGEICON 0x000000000 /* get large icon */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_SMALLICON 0x000000001 /* get small icon */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_OPENICON 0x000000002 /* get open icon */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_SHELLICONSIZE 0x000000004 /* get shell size icon */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_PIDL 0x000000008 /* pszPath is a pidl */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_USEFILEATTRIBUTES 0x000000010 /* use passed dwFileAttribute */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_DISPLAYNAME 0x000000200 /* get display name */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_TYPENAME 0x000000400 /* get type name */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_ATTRIBUTES 0x000000800 /* get attributes */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_ICONLOCATION 0x000001000 /* get icon location */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_EXETYPE 0x000002000 /* return exe type */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_SYSICONINDEX 0x000004000 /* get system icon index */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_LINKOVERLAY 0x000008000 /* put a link overlay on icon */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_SELECTED 0x000010000 /* show icon in selected state */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGFI_ATTR_SPECIFIED 0x000020000 /* get only specified attributes */
af062818b47340eef15700d2f0211576ba3506eevboxsync CHAR szDisplayName[MAX_PATH];/* display name (or path) */
af062818b47340eef15700d2f0211576ba3506eevboxsync WCHAR szDisplayName[MAX_PATH];/* display name (or path) */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDWORD_PTR WINAPI SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGetFileInfo WINELIB_NAME_AW(SHGetFileInfo)
a3133ef29cdf3656735d569fd64e54c9286effc0vboxsync/******************************************
a3133ef29cdf3656735d569fd64e54c9286effc0vboxsync * SHGetImageList
a3133ef29cdf3656735d569fd64e54c9286effc0vboxsyncHRESULT WINAPI SHGetImageList(INT, REFIID, void **);
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * SHSetFileInfo
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync* SHFileOperation
af062818b47340eef15700d2f0211576ba3506eevboxsync#define FOF_NORECURSION 0x1000 /* don't do recursion into directories */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define FOF_NO_CONNECTED_ELEMENTS 0x2000 /* don't do connected files */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define FOF_WANTNUKEWARNING 0x4000 /* during delete operation, warn if delete instead
af062818b47340eef15700d2f0211576ba3506eevboxsync of recycling (even if FOF_NOCONFIRMATION) */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define FOF_NORECURSEREPARSE 0x8000 /* don't do recursion into reparse points */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHFILEOPSTRUCT WINELIB_NAME_AW(SHFILEOPSTRUCT)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define LPSHFILEOPSTRUCT WINELIB_NAME_AW(LPSHFILEOPSTRUCT)
af062818b47340eef15700d2f0211576ba3506eevboxsyncint WINAPI SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);
af062818b47340eef15700d2f0211576ba3506eevboxsyncint WINAPI SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHFileOperation WINELIB_NAME_AW(SHFileOperation)
af062818b47340eef15700d2f0211576ba3506eevboxsyncvoid WINAPI SHFreeNameMappings(HANDLE hNameMappings);
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * ShellExecute
af062818b47340eef15700d2f0211576ba3506eevboxsyncHINSTANCE WINAPI ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHINSTANCE WINAPI ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT);
af062818b47340eef15700d2f0211576ba3506eevboxsync /* Optional fields */
af062818b47340eef15700d2f0211576ba3506eevboxsync /* Optional fields*/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHELLEXECUTEINFO WINELIB_NAME_AW(SHELLEXECUTEINFO)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO)
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo);
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI ShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define ShellExecuteEx WINELIB_NAME_AW(ShellExecuteEx)
af062818b47340eef15700d2f0211576ba3506eevboxsyncvoid WINAPI WinExecErrorA(HWND hwnd,INT error, LPCSTR lpstrFileName, LPCSTR lpstrTitle);
af062818b47340eef15700d2f0211576ba3506eevboxsyncvoid WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lpstrTitle);
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Tray Notification
af062818b47340eef15700d2f0211576ba3506eevboxsync/* notifyicondata.uFlags values*/
af062818b47340eef15700d2f0211576ba3506eevboxsync/* notifyicondata.dwState values */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* notifyicondata.dwInfoFlags values */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwMessage values */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFY_VERSION 3 /* supported by Windows 2000 and later */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFY_VERSION_4 4 /* supported by Windows Vista */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* callback message lParam values */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NIN_KEYSELECT (NIN_SELECT|NINF_KEY) /* WM_USER+1 */
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData);
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon)
af062818b47340eef15700d2f0211576ba3506eevboxsync/* pre IE 5.0 */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])
af062818b47340eef15700d2f0211576ba3506eevboxsync/* pre Window XP */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFYICONDATAA_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAA, guidItem)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFYICONDATAW_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAW, guidItem)
af062818b47340eef15700d2f0211576ba3506eevboxsync/* pre Window Vista */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFYICONDATAA_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAA, hBalloonIcon)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define NOTIFYICONDATAW_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAW, hBalloonIcon)
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI SHGetNewLinkInfoA(LPCSTR,LPCSTR,LPSTR,BOOL*,UINT);
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI SHGetNewLinkInfoW(LPCWSTR,LPCWSTR,LPWSTR,BOOL*,UINT);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHGetNewLinkInfo WINELIB_NAME_AW(SHGetNewLinkInfo)
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Recycle bin
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHEmptyRecycleBin WINELIB_NAME_AW(SHEmptyRecycleBin)
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI SHQueryRecycleBinA(LPCSTR,LPSHQUERYRBINFO);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SHQueryRecycleBin WINELIB_NAME_AW(SHQueryRecycleBin)
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************************************
af062818b47340eef15700d2f0211576ba3506eevboxsyncHICON WINAPI ExtractAssociatedIconA(HINSTANCE,LPSTR,LPWORD);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHICON WINAPI ExtractAssociatedIconW(HINSTANCE,LPWSTR,LPWORD);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define ExtractAssociatedIcon WINELIB_NAME_AW(ExtractAssociatedIcon)
af062818b47340eef15700d2f0211576ba3506eevboxsyncHICON WINAPI ExtractAssociatedIconExA(HINSTANCE,LPSTR,LPWORD,LPWORD);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHICON WINAPI ExtractAssociatedIconExW(HINSTANCE,LPWSTR,LPWORD,LPWORD);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define ExtractAssociatedIconEx WINELIB_NAME_AW(ExtractAssociatedIconEx)
af062818b47340eef15700d2f0211576ba3506eevboxsyncUINT WINAPI ExtractIconExA(LPCSTR,INT,HICON*,HICON*,UINT);
af062818b47340eef15700d2f0211576ba3506eevboxsyncUINT WINAPI ExtractIconExW(LPCWSTR,INT,HICON*,HICON*,UINT);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define ExtractIconEx WINELIB_NAME_AW(ExtractIconEx)
af062818b47340eef15700d2f0211576ba3506eevboxsyncHINSTANCE WINAPI FindExecutableA(LPCSTR,LPCSTR,LPSTR);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHINSTANCE WINAPI FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define FindExecutable WINELIB_NAME_AW(FindExecutable)
af062818b47340eef15700d2f0211576ba3506eevboxsyncBOOL WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON);
af062818b47340eef15700d2f0211576ba3506eevboxsyncint WINAPIV ShellMessageBoxA(HINSTANCE,HWND,LPCSTR,LPCSTR,UINT,...);
af062818b47340eef15700d2f0211576ba3506eevboxsyncint WINAPIV ShellMessageBoxW(HINSTANCE,HWND,LPCWSTR,LPCWSTR,UINT,...);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define ShellMessageBox WINELIB_NAME_AW(ShellMessageBox)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DoEnvironmentSubst WINELIB_NAME_AW(DoEnvironmentSubst)
af062818b47340eef15700d2f0211576ba3506eevboxsync} /* extern "C" */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* defined(__cplusplus) */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINE_SHELLAPI_H */