IeXdi2ProbeHandlerGeneric::Connect (Windows CE 5.0)
This method launches the connection between a probe and a debugging target.
HRESULT Connect( DWORDdwTimeout, BOOL fAsync, HANDLE_PTRhConnected, HANDLE_PTRhAbort);
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 Values
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
OS Version: Windows CE 5.0 and later.
Header: eXDI2.h.
Link Library: ole32.lib oleaut32.lib.
See Also
Send Feedback on this topic to the authors