Upravit

Sdílet prostřednictvím


EvtGetObjectArraySize function (winevt.h)

Gets the number of elements in the array of objects.

Syntax

BOOL EvtGetObjectArraySize(
  [in]  EVT_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray,
  [out] PDWORD                           ObjectArraySize
);

Parameters

[in] ObjectArray

A handle to an array of objects that the EvtGetPublisherMetadataProperty function returns.

[out] ObjectArraySize

The number of elements in the array.

Return value

Return code/value Description
TRUE
The function succeeded.
FALSE
The function failed. To get the error code, call the GetLastError function.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winevt.h
Library Wevtapi.lib
DLL Wevtapi.dll

See also

EvtGetObjectArrayProperty

EvtGetPublisherMetadataProperty