IInkExtendedProperties::DoesPropertyExist method (msinkaut.h)

Retrieves a value that indicates whether an IInkExtendedProperty object exists within an IInkExtendedProperties collection.

Syntax

HRESULT DoesPropertyExist(
  [in]          BSTR         Guid,
  [out, retval] VARIANT_BOOL *DoesPropertyExist
);

Parameters

[in] Guid

Specifies the globally unique identifier (GUID) of the property to be checked.

For more information about the BSTR data type, see Using the COM Library.

[out, retval] DoesPropertyExist

When this method returns, contains VARIANT_TRUE if the property exists within the collection; otherwise, VARIANT_FALSE.

Return value

This method can return one of these values.

Return code 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

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

See also

IInkExtendedProperties Interface