IInkDisp::CanPaste method (msinkaut.h)
Indicates whether the IDataObject can be converted to an InkDisp object.
Syntax
HRESULT CanPaste(
[in, optional] IDataObject *DataObject,
[out, retval] VARIANT_BOOL *CanPaste
);
Parameters
[in, optional] DataObject
Optional. Specifies the IDataObject to inspect. The default value is NULL, which means the data object on the Clipboard is used.
[out, retval] CanPaste
VARIANT_TRUE if the data object can be converted to an InkDisp object; otherwise, VARIANT_FALSE.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
An exception occurred inside the method. |
Remarks
If the supplied IDataObject is NULL, then the data object on the Clipboard is used.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |