IInkExtendedProperties::DoesPropertyExist
4/8/2010
Returns a value that indicates whether an IInkExtendedProperty object exists within an IInkExtendedProperties collection.
Syntax
HRESULT DoesPropertyExist (
[in] BSTR theGuid,
[out, retval] VARIANT_BOOL *DoesPropertyExist
);
Parameters
theGuid
Specifies the globally unique identifier (GUID) of the property to be checked.For more information about the BSTR data type, see Using the Automation Library with Windows Mobile Ink.
- DoesPropertyExist
Returns the BOOLEAN value that specifies whether the property exists within the collection. If TRUE, the extended property exists.
Return Value
HRESULT value | Description |
---|---|
S_OK |
Success. |
E_FAIL |
An unspecified error occurred. |
E_POINTER |
A parameter contained an invalid pointer. |
CO_E_CLASSSTRING |
Invalid GUID format. |
E_INK_EXCEPTION |
An exception occurred inside the method. |
E_INVALIDARG |
Invalid display handle. |
TPC_E_INVALID_STROKE |
The stroke is invalid. |
Requirements
Header | msinkaut.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later |