HP Operations Manager for Windows

opcagtmsg_ack()


   #include opcapi.h

   int opcagtmsg_ack (
                  opcdata     message_id     /* in */
                    );

Parameters

message_id
Message ID of type OPCDTYPE_MESSAGE_ID.

Description

Use the function opcagtmsg_ack() to acknowledge a message out from a managed node. A message operation will be sent to the message agent.

If the message attribute OPCDATA_DATA_INFO of a previously sent message was set to OPC_REMARK_FOR_ACK, the message agent holds the information about the responsible manager in its memory. If this attribute was not set, the message operation will be sent to all managers.

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_INPARAM:
message_id is NULL

OPC_ERR_INVALID_OPCDATA_TYPE:
message_id is not of type OPCDTYPE_MESSAGE_ID

OPC_ERR_INCOMPLETE_PARAM:
message ID is not set

OPC_ERR_NO_MEMORY:
memory allocation failed

Versions

HPOM for Windows A.06.00 and later

See Also

opcagtmsg_send()

opcmsg()

OPCDTYPE_MESSAGE_ID