Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 2.55 KB

nf-winevt-evtnexteventmetadata.md

File metadata and controls

86 lines (65 loc) · 2.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winevt.EvtNextEventMetadata
EvtNextEventMetadata function (winevt.h)
Gets an event definition from the enumerator.
EvtNextEventMetadata
EvtNextEventMetadata function [EventLog]
wes.evtnexteventmetadata
winevt/EvtNextEventMetadata
wes\evtnexteventmetadata.htm
wes
1077dc7c-3e73-4135-9020-20d086e30e71
12/05/2018
EvtNextEventMetadata, EvtNextEventMetadata function [EventLog], wes.evtnexteventmetadata, winevt/EvtNextEventMetadata
winevt.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Wevtapi.lib
Wevtapi.dll
Windows
19H1
EvtNextEventMetadata
winevt/EvtNextEventMetadata
c++
APIRef
kbSyntax
DllExport
Wevtapi.dll
EvtNextEventMetadata

EvtNextEventMetadata function

-description

Gets an event definition from the enumerator.

-parameters

-param EventMetadataEnum [in]

A handle to the event definition enumerator that the EvtOpenEventMetadataEnum function returns.

-param Flags [in]

Reserved. Must be zero.

-returns

If successful, the function returns a handle to the event's metadata; otherwise, NULL. If NULL, call GetLastError function to get the error code.

-remarks

Call this function in a loop until the function returns NULL and the error code is ERROR_NO_MORE_ITEMS.

To get a property from the event definition, call the EvtGetEventMetadataProperty function.

You must call the EvtClose function to close the event definition handle when done.

Examples

For an example that shows how to use this function, see Getting a Provider's Metadata.

-see-also

EvtGetEventMetadataProperty