4 * Copyright (C) 1999 Juergen Schmied
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_WINE_OBJ_COMMDLGBROWSER_H
22 #define __WINE_WINE_OBJ_COMMDLGBROWSER_H
26 #endif /* defined(__cplusplus) */
28 typedef struct ICommDlgBrowser ICommDlgBrowser, *LPCOMMDLGBROWSER;
30 /* for OnStateChange*/
31 #define CDBOSC_SETFOCUS 0x00000000
32 #define CDBOSC_KILLFOCUS 0x00000001
33 #define CDBOSC_SELCHANGE 0x00000002
34 #define CDBOSC_RENAME 0x00000003
37 #define ICOM_INTERFACE ICommDlgBrowser
38 #define ICommDlgBrowser_METHODS \
39 ICOM_METHOD1(HRESULT, OnDefaultCommand, IShellView*, IShellView) \
40 ICOM_METHOD2(HRESULT, OnStateChange, IShellView*, IShellView, ULONG, uChange) \
41 ICOM_METHOD2(HRESULT, IncludeObject, IShellView*, IShellView, LPCITEMIDLIST, pidl)
42 #define ICommDlgBrowser_IMETHODS \
44 ICommDlgBrowser_METHODS
45 ICOM_DEFINE(ICommDlgBrowser,IUnknown)
48 #define ICommDlgBrowser_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
49 #define ICommDlgBrowser_AddRef(p) ICOM_CALL(AddRef,p)
50 #define ICommDlgBrowser_Release(p) ICOM_CALL(Release,p)
51 #define ICommDlgBrowser_OnDefaultCommand(p,a) ICOM_CALL1(OnDefaultCommand,p,a)
52 #define ICommDlgBrowser_OnStateChange(p,a,b) ICOM_CALL2(OnStateChange,p,a,b)
53 #define ICommDlgBrowser_IncludeObject(p,a,b) ICOM_CALL2(IncludeObject,p,a,b)
57 #endif /* defined(__cplusplus) */
59 #endif /* __WINE_WINE_OBJ_COMMDLGBROWSER_H */