HP Operations Manager for Windows

_IOvRemoteAgentEvents::OnStatusChanged


Event: Asynchronous administration finishes on the node.

void OnStatusChanged(
[in] BSTR bstrNodeName,
[in] BSTR bstrStatus,
[in] long nEventId
);

Parameters

bstrNodeName
Name (caption in console) of the node where the asynchronous administration finishes.

bstrStatus
Status of the asynchronous administration on the node bstrNodeName.

nEventId
"Event" for status on the node:

0 - Remote administration started on the node.

1 - Remote administration ended on the node (successfully or unsuccessfully).

Returning Parameter

None.

HRESULT Return Values

None.

Description

The OnStatusChanged event is executed each time an asynchronous administration finishes on a node (successfully or unsuccessfully). Clients that receive this event should print out only bstrStatus. bstrNodeName is already contained in bstrStatus.