HP Operations Manager for Windows

OV_Message::GetAnnotationArray()
OV_Message::GetAnnotationArray_Trans()


sint32 GetAnnotationArray(
[in] sint32 StartAnnotationNumber,
[in] sint32 NumberOfAnnotations,
[in] sint32 Mode,
[out] OV_MessageAnnotation AnnotationArray[] )

Parameters

StartAnnotationNumber
Number of the first annotation to be retrieved.
NumberOfAnnotations
Number of annotations to be retrieved.
Mode
0 = Gets all annotations with annotation text.

1 = Gets all annotations without annotation text.

AnnotationArray
Retrieved array of annotations.

Calling Convention

These methods can be called only from a WMI instance object.

Description

Gets the NumberOfAnnotations annotations of the selected message, starting with StartAnnotationNumber.

Return Value

Values
ValueMap
Values
0 = Succeeded
-1 = Errors Occurred

Extended Status Codes

None.