ITsSbProvisioningPluginNotifySink::OnVirtualMachineStatusChanged method (sbtsv.h)

Notifies Remote Desktop Connection Broker (RD Connection Broker) that the status of a virtual machine is changed.

Syntax

HRESULT OnVirtualMachineStatusChanged(
  [in] VM_NOTIFY_ENTRY  *pVmNotifyEntry,
  [in] VM_NOTIFY_STATUS VmNotifyStatus,
  [in] HRESULT          ErrorCode,
  [in] BSTR             ErrorDescr
);

Parameters

[in] pVmNotifyEntry

Notification entry.

[in] VmNotifyStatus

Notification status.

[in] ErrorCode

A standard HRESULT error code describing the reason for the status change.

[in] ErrorDescr

A text description of the reason for the change.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbProvisioningPluginNotifySink