1 /************************************************************
5 #ifndef __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
6 #define __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
10 #endif /* defined(__cplusplus) */
12 typedef struct IDockingWindowFrame IDockingWindowFrame
, *LPDOCKINGWINDOWFRAME
;
13 DEFINE_GUID (IID_IDockingWindowFrame
, 0x47D2657AL
, 0x7B27, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
15 #define DWFRF_NORMAL 0x0000 /* femove toolbar flags*/
16 #define DWFRF_DELETECONFIGDATA 0x0001
17 #define DWFAF_HIDDEN 0x0001 /* add tolbar*/
19 #define ICOM_INTERFACE IDockingWindowFrame
20 #define IDockingWindowFrame_METHODS \
21 ICOM_METHOD3(HRESULT, AddToolbar, IUnknown*, punkSrc, LPCWSTR, pwszItem, DWORD, dwAddFlags) \
22 ICOM_METHOD2(HRESULT, RemoveToolbar, IUnknown*, punkSrc, DWORD, dwRemoveFlags) \
23 ICOM_METHOD3(HRESULT, FindToolbar, LPCWSTR, pwszItem, REFIID, riid, LPVOID*, ppvObj)
24 #define IDockingWindowFrame_IMETHODS \
26 IDockingWindowFrame_METHODS
27 ICOM_DEFINE(IDockingWindowFrame
,IOleWindow
)
30 /*** IUnknown methods ***/
31 #define IDockingWindowFrame_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
32 #define IDockingWindowFrame_AddRef(p) ICOM_CALL(AddRef,p)
33 #define IDockingWindowFrame_Release(p) ICOM_CALL(Release,p)
34 /*** IDockingWindowFrame methods ***/
35 #define IDockingWindowFrame_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
36 #define IDockingWindowFrame_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
37 #define IDockingWindowFrame_AddToolbar(p,a,b,c) ICOM_CALL3(AddToolbar,p,a,b,c)
38 #define IDockingWindowFrame_RemoveToolbar(p,a,b) ICOM_CALL2(RemoveToolbar,p,a,b)
39 #define IDockingWindowFrame_FindToolbar(p,a,b,c) ICOM_CALL3(FindToolbar,p,a,b,c)
43 #endif /* defined(__cplusplus) */
45 #endif /* __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H */