Share via


IChangeEventSink::OnEvent (Compact 7)

3/12/2014

The OnEvent method receives event notifications from the unified store layer and passes them to the subscriber.

Syntax

HRESULT OnEvent (
    ULONG cEvents,
    PIMEVENT* rgEvents
);

Parameters

  • cEvents
    [in] A count of the number of events received.
  • rgEvents
    [in,size_is(cEvents)] Array of PIMEVENT structures containing the notification info.

Return Value

The OnEvent method returns the following standard HRESULT values.

  • S_OK
    The operation completed successfully.
  • E_FAIL
    The operation failed due to an unspecified error.
  • E_INVALIDARG
    The operation failed because one (or more) of the arguments is not valid.
  • E_OUTOFMEMORY
    The operation failed because it needs more memory resources.
  • E_UNEXPECTED
    The operation failed due to an unexpected failure.

Remarks

New for Windows Embedded Compact 7.

See Also

Reference

IChangeEventSink