HP Operations Manager for Windows

OV_Message::GetAnnotation()
OV_Message::GetAnnotation_Trans()


sint32 GetAnnotation(
[in] sint32 AnnotationNumber,
[out] OV_MessageAnnotation Annotation)

Parameters

AnnotationNumber
Number of the wanted annotation.
Annotation
Annotation identified by AnnotationNumber.

Calling Convention

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

Description

Gets the annotation specified by the AnnotationNumber of the selected message.

Return Value

Values
ValueMap
Values
0 = (MS900) Succeeded
-1 = (MS908) Error
-10 = (MS902) Incompatible Message State
-11 = (MS903) User Not Owner of Message
-12 = (MS904) Message is Acknowledged
-20 = (MS905) Invalid Severity Value
-21 = (MS906) Invalid Annotation Number

Extended Status Codes

None.