Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Sets a value that indicates whether the IInkOverlaycontrol has interest in a specified event.

Syntax

HRESULT SetEventInterest (
  [in] InkCollectorEventInterest eventId,
  [in] VARIANT_BOOL listen
);

Parameters

eventId

The event to be listened for. Possible values for eventIDappear in the InkCollectorEventInterestenumeration type.

Listen

Specifies whether the event is being listened for. The value is TRUEif the event is being used and FALSEif it is being ignored.

Return Value

HRESULT value 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.

Remarks

All IInkOverlayevents can be toggled by using this method. Most of these events are turned off by default for performance reasons. The only event that is on by default is IInkOverlay::Stroke.

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

See Also