IRichEditOleCallback::GetClipboardData
Allows the
client to supply its own clipboard object.
HRESULT GetClipboardData(
CHARRANGE FAR * lpchrg, |
|
DWORD reco, |
|
LPDATAOBJECT FAR * lplpdataobj |
|
); |
|
Parameters
lpchrg
Pointer to
the CHARRANGE
reco
Clipboard
operation flag. Can be one of these values.
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. |
lplpdataobj
Pointer to
the pointer variable that receives the address of the IDataObject
Return Values
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.
See Also