IInkPicture::GetEventInterest method (msinkaut.h)

Retrieves the interest an object has in a particular event for the InkCollector class, InkOverlay class, or InkPicture class.

Syntax

HRESULT GetEventInterest(
  [in]          InkCollectorEventInterest EventId,
  [out, retval] VARIANT_BOOL              *Listen
);

Parameters

[in] EventId

The event about which the ink collector specifies the interest level.

[out, retval] Listen

VARIANT_TRUE if interest in the specified event has been sent; otherwise, VARIANT_FALSE.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_INVALIDARG
Invalid event interest.
E_INK_EXCEPTION
An exception occurred during processing.

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

IInkPicture

InkCollectorEventInterest Enumeration

InkPicture

SetEventInterest Method