EvtGetObjectArraySize function
Gets the number of elements in the array of objects.
Syntax
BOOL WINAPI EvtGetObjectArraySize( _In_ EVT_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray, _Out_ PDWORD ObjectArraySize );
Parameters
- ObjectArray [in]
-
A handle to an array of objects that the EvtGetPublisherMetadataProperty function returns.
- ObjectArraySize [out]
-
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. |
Examples
For an example that shows how to use this function, see Getting a Provider's Metadata.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
---|---|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Library |
|
DLL |
|
See also
Show: