Partager via


IMsTscAx::get_Connected (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the value of the Connected property, which specifies the connection state of the current control.

Syntax

HRESULT get_Connected(
  short* pIsConnected
);

Parameters

  • pIsConnected
    [out] A pointer to the value of the Connected property. The value is 1 if the control is in the connected state, zero otherwise.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Remarks

The preferred way to determine the control's connection state is to respond to the connection events in the IMsTscAxEvents interface.

Requirements

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

See Also

Reference

IMsTscAx
IMsTscAxEvents