IMsTscAxEvents::OnLoginComplete method

Called when the client control has successfully logged on to a Remote Desktop Session Host (RD Session Host) server, following the display of the Windows Logon dialog box.

Syntax

void OnLoginComplete();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

Implement this method in your event sink to receive notification that the control has completed logon.

Examples

The following example shows how to handle this event by using Visual Basic Scripting code. The assumption in this example is that your control object is named "MsRdpClient".

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Sub MsRdpClient.OnLoginComplete()
    Msgbox("Login has completed")
End sub

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IMsTscAxEvents is defined as 336d5562-efa8-482e-8cb3-c5c0fc7a7db6

See also

IMsTscAxEvents