Returns the DISPID and name for each event in a specified range of events.

HRESULT DescribeEvents(
   ULONG    iEvent,
   ULONG    cEvents,
   DISPID*  prgid,
   BSTR*    prgbstr,
   ULONG*   pcEventsFetched
);

Parameters

iEvent

[in] Index of the first event to retrieve.

cEvents

[in] Number of events to retrieve.

prgid

[out] Array of event DISPID values.

prgbstr

[out] Array of event names.

pcEventsFetched

[out] The actual number of events fetched.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also