Allows the client to supply its own clipboard object.
HRESULT GetClipboardData(
CHARRANGE FAR *lpchrg,
DWORD reco,
LPDATAOBJECT FAR *lplpdataobj
);
RECO_COPY | Copy to the clipboard. |
RECO_CUT | Cut to the clipboard. |
RECO_DRAG | Drag operation (drag and drop) |
RECO_DROP | Drop operation (drag and drop). |
RECO_PASTE | Paste from the clipboard. |
Returns success status. If the SCODE of the return value is E_NOTIMPL, the rich edit control creates its own clipboard object. If the SCODE of the return value is a failure other than E_NOTIMPL the operation fails.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richole.h.
Rich Edit Controls Overview, Rich Edit OLE Interfaces, CHARRANGE, IDataObject, IRichEditOleCallback