ITsSbProvider::UnRegisterForNotification method (sbtsv.h)
Requests that Remote Desktop Connection Broker (RD Connection Broker) not send notifications about specified events.
Syntax
HRESULT UnRegisterForNotification(
[in] DWORD notificationType,
[in] BSTR ResourceToMonitor
);
Parameters
[in] notificationType
Specifies the type of notification. To specify more than one type, use a logical OR.
TSSB_NOTIFY_TARGET_CHANGE
The owner plug-in has recognized a change in the change in the target's state.
TSSB_NOTIFY_SESSION_CHANGE
The owner plug-in has recognized a change in the change in the session's state.
TSSB_NOTIFY_CONNECTION_REQUEST_CHANGE
RD Connection Broker has created a connection, or completed a connection request due to a successful logon, time-out, or connection failure.
[in] ResourceToMonitor
This parameter is reserved.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Plug-ins can use the UnRegisterForNotification method to cancel previous requests for notifications.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | sbtsv.h |