Returns the DISPID and name for each event in a specified range of events.
[in] Index of the first event to retrieve.
[in] Number of events to retrieve.
[out] Array of event DISPID values.
[out] Array of event names.
[out] The actual number of events fetched.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
More events were requested than were available. Unavailable events are represented with DISPID_NULL and a null BSTR.
No elements could be fetched.
This method returns the DISPID and name for each event in a specified range of events.