Share via


IMsTscAxEvents::OnDisconnected (Windows Embedded CE 6.0)

1/6/2010

This method is called when the client control has been disconnected from the terminal server.

Syntax

VOID OnDisconnected(
  long discReason
);

Parameters

  • discReason
    [in] Specifies the reason for the disconnection.

    The following table shows possible values for this parameter.

    Value Description

    0

    No information is available.

    1

    Local disconnection. (Not an error code.)

    2

    Remote disconnection by user. (Not an error code.)

    3

    Remote disconnection by server. (Not an error code.)

    260

    DNS name lookup failure.

    262

    Out of memory.

    264

    Connection timed out.

    516

    Winsock socket connect failure.

    518

    Out of memory.

    520

    "Host not found" error.

    772

    Winsock send call failure.

    774

    Out of memory.

    776

    Invalid IP address specified.

    1028

    Winsock recv call failure.

    1030

    Invalid security data.

    1032

    Internal error.

    1286

    Invalid encryption method specified.

    1288

    DNS lookup failed.

    1540

    Failed to find the requested server, device, or host.

    1542

    Invalid server security data.

    1544

    Internal timer error.

    1796

    Timeout occurred.

    1798

    Failed to unpack server certificate.

    2052

    Bad IP address specified.

    2056

    Internal security error.

    2308

    Socket closed.

    2310

    Internal security error.

    2312

    Licensing timeout.

    2566

    Internal security error.

    2822

    Encryption error.

    3078

    Decryption error.

Return Value

None.

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscAxEvents