IeXdi2Exec::ChangeExceptionAction (Windows CE 5.0)

Send Feedback

This method changes the action to perform when an exception is occurring.

HRESULT ChangeExceptionAction(  DWORD dwExceptionCode,  EXCEPTION_DEFAULT_ACTION_TYPE2 efd2);

Parameters

  • dwExceptionCode
    [in] Code of the exception whose action will be changed.

    This code must correspond to an exception listed by IeXdi2Exec::GetExceptionDescriptionList.

  • efd2
    [in] New action associated with that exception.

    The following table shows possible actions.

    Action Description
    eda2NotifyAll Catch the exception and pass it to the client.
    eda2StopAll Catch the exception and pass it to the client.
    eda2IgnoreAll Catch the exception and resume execution.
    -or-
    Instruct the hardware probe or simulator to ignore that exception and let the target OS catch it.
    eda2Ignore1stChc Catch a first-chance-only exception and resume execution.
    -or-
    If a second-chance exception is supported, handle the exception at the probe level using a debugger such as KdStub.

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.
E_NOTIMPL Indicates that the error code is not implemented.
E_INVALIDARG Indicates one or more invalid arguments.
EXDI_E_COMMUNICATION Indicates a communication error between host driver and debugging target.

Requirements

OS Version: Windows CE 5.0 and later.
Header: eXDI2.h.
Link Library: ole32.lib, oleaut32.lib.

See Also

IeXDI2 Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.