Notifies registered plug-ins about state changes in a client connection.
HRESULT NotifyClientConnectionStateChangeEx( BSTR userName, BSTR domain, BSTR initialProgram, BSTR poolName, BSTR targetName, CONNECTION_CHANGE_NOTIFICATION connectionChangeType );
The user name.
The user domain.
The initial program.
The name of the pool.
The name of the target.
The type of change that has occurred. This parameter can be one of the following values.
A client request is pending a session logon from a user.
RD Connection Broker failed to process the request. This value is issued just before RD Connection Broker deletes the connection request from its store.
The request timed out. This generally means that either the user has canceled the request or was unable to log on because of network connectivity issues. This value is issued just before RD Connection Broker deletes the connection request from its store.
The user successfully logged on to the target computer. This value is issued just before RD Connection Broker deletes the connection request from its store.
RD Connection Broker canceled a connection request
because the connection request was being processed while the RD Connection Broker service was stopping.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
|Windows version||None supported Windows Server 2012|