CRichEditOleCallback.GetClipboardDatamethod
Allows the client to supply its own clipboard object.
Syntax
FUNCTION GetClipboardData (BYVAL lpchrg AS CHARRANGE PTR, BYVAL reco AS DWORD, BYVAL lplpdataobj AS LPDATAOBJECT PTR) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
lpchrg | The clipboard object range. | |
reco | The clipboard operation flag can be one of these values. ECO_COPY. Copy to the clipboard. RECO_CUT. Cut to the clipboard. | |
lplpdataobj | Pointer to the pointer variable that receives the address of the IDataObject implementation representing the range specified in the lpchrg parameter. The value of lplpdataobj is ignored if an error is returned. |
Return value
Returns S_OK on success. If the return value is E_NOTIMPL, the rich edit control created its own clipboard object. If the return value is a failure other than E_NOTIMPL, the operation failed.
Description
Allows the client to supply its own clipboard object.
Reference
- Defined in AfxNova/CRichEditOleCallback.inc:38
- Documented in Windows/WIndows Controls/RichEdit/CRichEditOleCallback Class.md
- Topic: CRichEditOleCallback Class