You are reading help file online using chmlib.com
|
ISpEventSource::GetEvents retrieves and removes the queued events. Clients will want to use the helper class CSpEvent to retrieve and manipulate these events.
HRESULT GetEvents(
ULONG ulCount,
SPEVENT *pEventArray,
ULONG *pulFetched
);
The events are then removed from the queue. The events not returned are left for a future call to GetEvents. It is possible that by the time an application calls GetEvents, another thread has processed the events and there are no events to be returned. This may be the result of subsequent Notify calls.
Value | Description |
---|---|
S_OK | Function completed successfully and all requested events were returned. |
S_FALSE | Success, but less than the requested amount of events were returned. |
E_POINTER | pEventArray is invalid. |
FAILED(hr) | Appropriate error message. |
You are reading help file online using chmlib.com
|