ITsSbResourceNotification::NotifyTargetChange method

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

Syntax


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

Parameters

TargetChangeType [in]

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

pTarget [in]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

IDL

Sbtsv.idl

See also

ITsSbResourceNotification
ITsSbTarget
TARGET_CHANGE_TYPE

 

 

Show: