ITsSbResourceNotification::NotifyTargetChange method (sbtsv.h)

Notifies registered plug-ins about state changes in a target object.

Syntax

HRESULT NotifyTargetChange(
  [in] DWORD       TargetChangeType,
  [in] ITsSbTarget *pTarget
);

Parameters

[in] TargetChangeType

A value of the TARGET_CHANGE_TYPE enumeration that specifies the type of change that occurred in a target.

[in] pTarget

A pointer to a target object. This object is a copy of the object present in the RD Connection Broker store. Any changes to this object do not affect the object in the store.

Return value

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

Remarks

RD Connection Broker calls the NotifyTargetChange method to notify registered plug-ins about state changes in a target object. For example, RD Connection Broker calls this method when a new session is added to the resource plug-in store as a result of a session logon.

Requirements

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

See also

ITsSbResourceNotification

ITsSbTarget

TARGET_CHANGE_TYPE