Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Enumerates event definition tokens for the specified TypeDef token.
Syntax
HRESULT EnumEvents(
[in, out] HCORENUM *phEnum,
[in] mdTypeDef tkTypDef,
[out] mdEvent [] rgEvents,
[in] ULONG cMax,
[out] ULONG *pcEvents
);
Parameters
[in, out] phEnum
A pointer to the enumerator.
[in] tkTypDef
The TypeDef token whose event definitions are to be enumerated.
[out] rgEvents
The array of returned events.
[in] cMax
The maximum size of the rgEvents array.
[out] pcEvents
The actual number of events returned in rgEvents.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumEvents returned successfully. |
| S_FALSE | There are no events to enumerate. In this case, pcEvents is zero. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |