IInkCustomStrokes::Item method (msinkaut.h)
Retrieves the InkStrokes Collection at the location specified within the IInkCustomStrokes Interface.
Syntax
HRESULT Item(
[in] VARIANT Identifier,
[out, retval] IInkStrokes **Strokes
);
Parameters
[in] Identifier
The numeric index or string name of the InkStrokes Collection to return from the IInkCustomStrokes collection.
[out, retval] Strokes
When this method returns, contains a pointer to the InkStrokes Collection at the location specified within the IInkCustomStrokes Interface.
Return value
This method can return one of these values.
HRESULT Value | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
An unspecified error occurred. |
|
Invalid GUID format. |
|
One of the parameters is not a valid VARIANT type. |
|
Invalid argument. |
|
Unexpected parameter or property type. |
|
Type OBJECT not registered. |
|
Cannot allocate memory to complete the operation. |
|
An exception occurred inside the method. |
|
The recognizers registry key is corrupted or your environment does not support handwriting recognition. |
Remarks
An error occurs if the identifier doesn't match any existing member of the collection.
This method takes an input argument of type VARIANT. The subtype of this variable must be BSTR or Long.
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 |