ITsSbProvisioningPluginNotifySink::OnVirtualMachineStatusChanged method

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

Syntax

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

Parameters

pVmNotifyEntry

Notification entry.

VmNotifyStatus

Notification status.

ErrorCode

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

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

   
Windows version None supported Windows Server 2012
Target Platform Windows
Header sbtsv.h

See Also

ITsSbProvisioningPluginNotifySink