dragdrop.h

来自「mpq文件的格式就是一种压缩格式」· C头文件 代码 · 共 36 行

H
36
字号
/*****************************************************************************/
/* DragDrop.h                             Copyright (c) Ladislav Zezula 2003 */
/*---------------------------------------------------------------------------*/
/* Interface file for implementing the Drag & Drop interfaces                */
/*---------------------------------------------------------------------------*/
/*   Date    Ver   Who  Comment                                              */
/* --------  ----  ---  -------                                              */
/* 03.05.03  1.00  Lad  The first version of DragDrop.h                      */
/*****************************************************************************/

#ifndef __DRAGDROP_H__
#define __DRAGDROP_H__

class TDataObject : public IDataObject
{
    public:

    TDataObject();

    // Functions of the IUnknown interface
    HRESULT QueryInterface(REFIID riid, void ** ppvObject);
    ULONG   AddRef();
    ULONG   Release();

    // Functions of the IDataOIbject interface
    HRESULT GetData(FORMATETC * pFormatetc, STGMEDIUM * pmedium);
    HRESULT GetDataHere(FORMATETC * pFormatetc, STGMEDIUM * pmedium);
    HRESULT QueryGetData(FORMATETC * pFormatetc);
    HRESULT GetCanonicalFormatEtc(FORMATETC * pFormatetcIn, FORMATETC * pFormatetcOut);
}




#endif // __DRAGDROP_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?