Compartilhar via


IMsTscAx::get_Connected (Windows CE 5.0)

Send Feedback

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

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscAx | IMsTscAxEvents

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.