Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
---|---|
|
The function succeeded. |
|
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 |