IeXdi2Exec::ChangeExceptionAction (Windows Embedded CE 6.0)
1/5/2010
This method changes the action to perform when an exception is occurring.
Syntax
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 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. |
E_NORESAVAILABLE |
Indicates a breakpoint resource was not available and the method cannot instantiate all breakpoints. |
E_OUTOFMEMORY |
Indicates an out of memory error. |
E_INVALIDARG |
Indicates one or more invalid arguments. |
EXDI_E_COMMUNICATION |
Indicates a communication error between host driver and debugging target. |
Requirements
Header | eXDI2.h |
Library | ole32.lib, oleaut32.lib |
Windows Embedded CE | Windows CE 5.0 and later |