إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
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 |