Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

82 lines
2.8 KiB

/*****************************************************************************\
* *
* olebind.h Data binding interfaces for OLE *
* *
* OLE Version 2.0 *
* *
* Copyright (c) 1992-1994, Microsoft Corp. All rights reserved. *
* *
\*****************************************************************************/
#if !defined( _OLEBIND_H_ )
#define _OLEBIND_H_
#if !defined( INITGUID )
#include <olectl.h>
#endif
DEFINE_GUID(IID_IBoundObject,
0x9BFBBC00,0xEFF1,0x101A,0x84,0xED,0x00,0xAA,0x00,0x34,0x1D,0x07);
DEFINE_GUID(IID_IBoundObjectSite,
0x9BFBBC01,0xEFF1,0x101A,0x84,0xED,0x00,0xAA,0x00,0x34,0x1D,0x07);
typedef interface IBoundObject FAR* LPBOUNDOBJECT;
typedef interface IBoundObjectSite FAR* LPBOUNDOBJECTSITE;
typedef interface ICursor FAR* LPCURSOR;
typedef interface ICursor FAR* FAR* LPLPCURSOR;
typedef interface ICursorMove FAR* LPCURSORMOVE;
typedef interface ICursorScroll FAR* LPCURSORSCROLL;
typedef interface ICursorFind FAR* LPCURSORFIND;
typedef interface ICursorUpdateARow FAR* LPCURSORUPDATEAROW;
//////////////////////////////////////////////////////////////////////////////
//
// IBoundObject interface
//
//////////////////////////////////////////////////////////////////////////////
#undef INTERFACE
#define INTERFACE IBoundObject
DECLARE_INTERFACE_(IBoundObject, IUnknown)
{
//
// IUnknown methods
//
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
//
// IBoundObject methods
//
STDMETHOD(OnSourceChanged)(THIS_ DISPID dispid, BOOL fBound, BOOL FAR* lpfOwnXferOut) PURE;
STDMETHOD(IsDirty)(THIS_ DISPID dispid) PURE;
};
//////////////////////////////////////////////////////////////////////////////
//
// IBoundObjectSite interface
//
//////////////////////////////////////////////////////////////////////////////
#undef INTERFACE
#define INTERFACE IBoundObjectSite
DECLARE_INTERFACE_(IBoundObjectSite, IUnknown)
{
//
// IUnknown methods
//
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
//
// IBoundObjectSite methods
//
STDMETHOD(GetCursor)(THIS_ DISPID dispid, LPLPCURSOR ppCursor, LPVOID FAR* ppcidOut) PURE;
};
#endif // !defined( _OLEBIND_H_ )