IRowsetEvents::OnRowsetEvent method (searchapi.h)

Called by the indexer to notify clients of an event related to the client rowset.

Syntax

HRESULT OnRowsetEvent(
  ROWSETEVENT_TYPE eventType,
  REFPROPVARIANT   eventData
);

Parameters

eventType

Type: ROWSETEVENT_TYPE

The event triggering the notification as the ROWSETEVENT_TYPE enumeration.

eventData

Type: REFPROPVARIANT

The expected value of the event data for the event type.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header searchapi.h

See also

Conceptual

IRowsetEvents

IRowsetPrioritization

Indexing Prioritization and Rowset Events in Windows 7

PRIORITIZE_FLAGS

PRIORITY_LEVEL

ROWSETEVENT_ITEMSTATE

ROWSETEVENT_TYPE

Reference

Rowset Properties