Share via


ISpEventSink::AddEvents (Windows Embedded CE 6.0)

1/6/2010

This method adds events directly to an event sink.

Syntax

HRESULT AddEvents(
  const SPEVENT* pEventArray, 
  ULONG ulCount
);

Parameters

  • pEventArray
    [in] Pointer to an array of SPEVENT structures.
  • ulCount
    [in] Number of events represented by the array.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_INVALIDARG

pEventArray is bad or invalid

FAILED(hr)

Appropriate error message.

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpEventSink
SAPI Interfaces