Add scripting to your application with Vbsedit !

ISimpleConnectionPoint::DescribeEvents

 

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
);

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.

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value

Description

S_OK 

The method succeeded.

S_FALSE

More events were requested than were available. Unavailable events are represented with DISPID_NULL and a null BSTR.

E_INVALIDARG

No elements could be fetched.

This method returns the DISPID and name for each event in a specified range of events.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Vbsedit

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2022 adersοft