Partager via


IeXdi2ProbeHandlerGeneric::Connect (Windows Embedded CE 6.0)

1/5/2010

This method launches the connection between a probe and a debugging target.

Syntax

HRESULT Connect(
  DWORD dwTimeout,
  BOOL fAsync,
  HANDLE_PTR hConnected,
  HANDLE_PTR hAbort
);

Parameters

  • dwTimeout
    [in] Timeout interval for connection attempts.
  • fAsync
    [in] If TRUE, this Boolean value indicates an asynchronous call returns immediately and uses an event to notify the client that a connection succeeded.

    If FALSE, this value indicates that a synchronous call notifies the client that the connection succeeded.

  • hConnected
    [in] Handle to the event for notification of a successful connection.

    This parameter is for in-process use only.

  • hAbort
    [in] Handle to the event for notification of a failed connection.

    This parameter is for in-process use only.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_FAIL

Indicates an unspecified failure.

Requirements

Header eXDI2.h
Library ole32.lib, oleaut32.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IeXdi2ProbeHandlerGeneric
IeXDI2 Interfaces