3.1.4.5 IEnumEventObject

The IEnumEventObject interface provides methods that are used to enumerate a collection of event classes or subscriptions. The version for this interface is 0.0.

A client gets this interface by means of the get_NewEnum (Opnum 9) (section 3.1.4.6.3) method of the IEventObjectCollection. As this is a DCOM interface, opnums 0 through 2 are IUnknown methods, which MUST be implemented by means of IRemUnknown, as specified in [MS-DCOM] section 3.1.1.5.6. The DCOM object implementing this interface MUST use the UUID {F4A07D63-2E25-11D1-9964-00C04FBBB345}.

This interface includes the following methods beyond those of IUnknown.

Methods in RPC Opnum Order

Method

Description

Clone

Clones the collection into another IEnumEventObject-based DCOM object.

Opnum: 3

Next

Returns the next elements and iterates over them.

Opnum: 4

Reset

Resets the enumerating object back to the first element.

Opnum: 5

Skip

Skips ahead in the collection.

Opnum: 6