1999-03-25 11:57:12 +01:00
|
|
|
/************************************************************
|
|
|
|
* IDockingWindowFrame
|
|
|
|
*/
|
|
|
|
|
1999-06-12 20:36:54 +02:00
|
|
|
#ifndef __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
|
|
|
|
#define __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
|
1999-03-25 11:57:12 +01:00
|
|
|
|
|
|
|
#include "winbase.h"
|
2000-03-24 22:13:57 +01:00
|
|
|
#include "wingdi.h"
|
1999-03-25 11:57:12 +01:00
|
|
|
#include "winuser.h"
|
|
|
|
#include "wine/obj_base.h"
|
|
|
|
#include "wine/obj_inplace.h"
|
|
|
|
|
1999-06-12 12:53:06 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
1999-03-25 11:57:12 +01:00
|
|
|
typedef struct IDockingWindowFrame IDockingWindowFrame, *LPDOCKINGWINDOWFRAME;
|
|
|
|
DEFINE_GUID (IID_IDockingWindowFrame, 0x47D2657AL, 0x7B27, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
|
|
|
|
|
|
|
|
#define DWFRF_NORMAL 0x0000 /* femove toolbar flags*/
|
|
|
|
#define DWFRF_DELETECONFIGDATA 0x0001
|
|
|
|
#define DWFAF_HIDDEN 0x0001 /* add tolbar*/
|
|
|
|
|
|
|
|
#define ICOM_INTERFACE IDockingWindowFrame
|
|
|
|
#define IDockingWindowFrame_METHODS \
|
|
|
|
ICOM_METHOD3(HRESULT, AddToolbar, IUnknown*, punkSrc, LPCWSTR, pwszItem, DWORD, dwAddFlags) \
|
|
|
|
ICOM_METHOD2(HRESULT, RemoveToolbar, IUnknown*, punkSrc, DWORD, dwRemoveFlags) \
|
|
|
|
ICOM_METHOD3(HRESULT, FindToolbar, LPCWSTR, pwszItem, REFIID, riid, LPVOID*, ppvObj)
|
|
|
|
#define IDockingWindowFrame_IMETHODS \
|
|
|
|
IOleWindow_IMETHODS \
|
|
|
|
IDockingWindowFrame_METHODS
|
|
|
|
ICOM_DEFINE(IDockingWindowFrame,IOleWindow)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-03-25 11:57:12 +01:00
|
|
|
#define IDockingWindowFrame_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IDockingWindowFrame_AddRef(p) ICOM_CALL(AddRef,p)
|
|
|
|
#define IDockingWindowFrame_Release(p) ICOM_CALL(Release,p)
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IDockingWindowFrame methods ***/
|
1999-03-25 11:57:12 +01:00
|
|
|
#define IDockingWindowFrame_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
|
|
|
|
#define IDockingWindowFrame_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
|
|
|
|
#define IDockingWindowFrame_AddToolbar(p,a,b,c) ICOM_CALL3(AddToolbar,p,a,b,c)
|
|
|
|
#define IDockingWindowFrame_RemoveToolbar(p,a,b) ICOM_CALL2(RemoveToolbar,p,a,b)
|
|
|
|
#define IDockingWindowFrame_FindToolbar(p,a,b,c) ICOM_CALL3(FindToolbar,p,a,b,c)
|
|
|
|
|
1999-06-12 12:53:06 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
1999-03-25 11:57:12 +01:00
|
|
|
|
1999-06-12 20:36:54 +02:00
|
|
|
#endif /* __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H */
|