📄 dragdrop.h
字号:
/*****************************************************************************/
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -