New loading scheme for Winelib apps, makes them behave like builtin
[wine] / include / wine / obj_commdlgbrowser.h
1 /*
2  *    ICommDlgBrowser
3  *
4  * Copyright (C) 1999 Juergen Schmied
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef __WINE_WINE_OBJ_COMMDLGBROWSER_H
22 #define __WINE_WINE_OBJ_COMMDLGBROWSER_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
27
28 typedef struct  ICommDlgBrowser ICommDlgBrowser, *LPCOMMDLGBROWSER;
29
30 /* for OnStateChange*/
31 #define CDBOSC_SETFOCUS     0x00000000
32 #define CDBOSC_KILLFOCUS    0x00000001
33 #define CDBOSC_SELCHANGE    0x00000002
34 #define CDBOSC_RENAME       0x00000003
35
36
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 \
43         IUnknown_IMETHODS \
44         ICommDlgBrowser_METHODS
45 ICOM_DEFINE(ICommDlgBrowser,IUnknown)
46 #undef ICOM_INTERFACE
47
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)
54
55 #ifdef __cplusplus
56 } /* extern "C" */
57 #endif /* defined(__cplusplus) */
58
59 #endif /* __WINE_WINE_OBJ_COMMDLGBROWSER_H */