Redirects an incoming connection to a computing resource, such as a virtual machine, a blade server, or even the user's own corporate desktop by providing a WTSSBX_MACHINE_CONNECT_INFO structure that contains information about the resource.
HRESULT WTSSBX_GetUserExternalSession( WCHAR *UserName, WCHAR *DomainName, WCHAR *ApplicationType, WTSSBX_IP_ADDRESS *RedirectorInternalIP, DWORD *pSessionId, WTSSBX_MACHINE_CONNECT_INFO *pMachineConnectInfo );
A pointer to a Unicode string that contains the user name of the incoming connection.
A pointer to a Unicode string that contains the domain name of the incoming connection.
A pointer to a Unicode string that contains the program that Remote Desktop Services runs after the user session is created.
A pointer to the internal IP address of the RD Session Host server that first accepted the connection.
A pointer to a WTSSBX_MACHINE_CONNECT_INFO structure that contains information about the computer to which the plug-in is directing the incoming connection.
Returns S_OK if successful.
Terminal Services Session Broker (TS Session Broker) calls this method so that the plug-in can redirect an incoming connection to a computer that is not joined to a farm in TS Session Broker.
Your implementation of WTSSBX_GetUserExternalSession should return E_NOTIMPL if it does not support redirection to computers that are not joined to farms in TS Session Broker.
|Windows version||None supported Windows Server 2008|