إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Enumerates event definition tokens for the specified TypeDef token.
Syntax
HRESULT EnumEvents (
[in, out] HCORENUM *phEnum,
[in] mdTypeDef td,
[out] mdEvent rEvents[],
[in] ULONG cMax,
[out] ULONG *pcEvents
);
Parameters
phEnum
[in, out] A pointer to the enumerator.
td
[in] The TypeDef token whose event definitions are to be enumerated.
rEvents
[out] The array of returned events.
cMax
[in] The maximum size of the rEvents array.
pcEvents
[out] The actual number of events returned in rEvents.
Return Value
| HRESULT | Description |
|---|---|
S_OK |
EnumEvents returned successfully. |
S_FALSE |
There are no events to enumerate. In that case, pcEvents is zero. |
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.