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.
 
 
 
 
 
 

52 lines
1.6 KiB

//**********************************************************************
// File name: ido.h
//
// Definition of CDataObject
//
// Copyright (c) 1993 Microsoft Corporation. All rights reserved.
//**********************************************************************
#if !defined( _IDO_H_)
#define _IDO_H_
#include <ole2.h>
#include "obj.h"
class CSimpSvrObj;
interface CDataObject : public IDataObject
{
private:
CSimpSvrObj FAR * m_lpObj;
public:
CDataObject::CDataObject(CSimpSvrObj FAR * lpSimpSvrObj)
{
m_lpObj = lpSimpSvrObj;
};
CDataObject::~CDataObject() {};
STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppvObj);
STDMETHODIMP_(ULONG) AddRef ();
STDMETHODIMP_(ULONG) Release ();
STDMETHODIMP DAdvise ( FORMATETC FAR* pFormatetc, DWORD advf,
LPADVISESINK pAdvSink, DWORD FAR* pdwConnection);
STDMETHODIMP DUnadvise ( DWORD dwConnection);
STDMETHODIMP EnumDAdvise ( LPENUMSTATDATA FAR* ppenumAdvise);
STDMETHODIMP EnumFormatEtc ( DWORD dwDirection,
LPENUMFORMATETC FAR* ppenumFormatEtc);
STDMETHODIMP GetCanonicalFormatEtc ( LPFORMATETC pformatetc,
LPFORMATETC pformatetcOut);
STDMETHODIMP GetData ( LPFORMATETC pformatetcIn, LPSTGMEDIUM pmedium );
STDMETHODIMP GetDataHere ( LPFORMATETC pformatetc, LPSTGMEDIUM pmedium );
STDMETHODIMP QueryGetData ( LPFORMATETC pformatetc );
STDMETHODIMP SetData ( LPFORMATETC pformatetc, STGMEDIUM FAR * pmedium,
BOOL fRelease);
};
#endif