15cc7bc14d
* include/exdisp.h: New file. * include/exdispid.h: New file. * include/mshtml.h: New file. * lib/test.c: #include exdisp.h and mshtml.h * lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents, DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2, IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange, IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp): New GUIDs. * include/docobj.h: New file. * include/idispids.h: New file. * include/objidl.h (IID_IMoniker): Declare. * include/ocidl.h (READYSTATE): New enum. (IOleInPlaceSiteEx): New interface. * include/olectlid.h (IID_IEnumSTATSTG): New interface identifier. * include/oleidl.h (IOleItemContainer, IOleInPlaceObject, IOleInPlaceSite): New interfaces. * lib/test.c: #include docobj.h,idispids.h,
48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
#ifndef _OCIDL_H
|
|
#define _OCIDL_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <ole2.h>
|
|
#include <olectl.h>
|
|
|
|
typedef enum tagREADYSTATE {
|
|
READYSTATE_UNINITIALIZED = 0,
|
|
READYSTATE_LOADING = 1,
|
|
READYSTATE_LOADED = 2,
|
|
READYSTATE_INTERACTIVE = 3,
|
|
READYSTATE_COMPLETE = 4
|
|
} READYSTATE;
|
|
|
|
EXTERN_C const IID IID_IOleInPlaceSiteEx;
|
|
#undef INTERFACE
|
|
#define INTERFACE IOleInPlaceSiteEx
|
|
DECLARE_INTERFACE_(IOleInPlaceSiteEx,IOleInPlaceSite)
|
|
{
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
STDMETHOD(CanInPlaceActivate)(THIS) PURE;
|
|
STDMETHOD(OnInPlaceActivate)(THIS) PURE;
|
|
STDMETHOD(OnUIActivate)(THIS) PURE;
|
|
STDMETHOD(GetWindowContext)(THIS_ IOleInPlaceFrame**,IOleInPlaceUIWindow**,LPRECT,LPRECT,LPOLEINPLACEFRAMEINFO) PURE;
|
|
STDMETHOD(Scroll)(THIS_ SIZE) PURE;
|
|
STDMETHOD(OnUIDeactivate)(THIS_ BOOL) PURE;
|
|
STDMETHOD(OnInPlaceDeactivate)(THIS) PURE;
|
|
STDMETHOD(DiscardUndoState)(THIS) PURE;
|
|
STDMETHOD(DeactivateAndUndo)(THIS) PURE;
|
|
STDMETHOD(OnPosRectChange)(THIS_ LPCRECT) PURE;
|
|
|
|
STDMETHOD(OnInPlaceActivateEx)(THIS_ BOOL*,DWORD) PURE;
|
|
STDMETHOD(OnInPlaceDeactivateEx)(THIS_ BOOL) PURE;
|
|
STDMETHOD(RequestUIActivate)(THIS) PURE;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|