IeXdi2ClientNotifyRunChg::NotifyRunStateChange (Windows CE 5.0)

Send Feedback

This method notifies the client application of a change in the run state.

HRESULT NotifyRunStateChange(  [in] RUN_STATUS_TYPE2 ers2Current,  [in] DWORD dwNbOfHaltReasons,  [in, size_is (dwNbOfHaltReasons)] HALT_REASON_TYPE2 *pehr2List,  [in] ADDRESS_TYPE CurrentExecAddress,  [in] DWORD64dw64CycleSinceLastRun);

Parameters

  • ersCurrent
    Run status type.

  • dwNbOfHaltReasons
    Number of halt reasons provided in pehr2List.

  • pehr2List
    Pointer to the list of all reasons for halting execution.

    If none, or if not a halt, the pointer to the list should be NULL.

  • CurrentExecAddress
    If run status is halted, indicates the address of current program or instruction pointer; otherwise, undefined.

  • dwExceptionCode
    Type and source of exception, if halted due to an exception. Undefined otherwise.

    Exception code is architecture dependant.

  • dw64CycleSinceLastRun
    Number of clock cycles executed after the target resumed execution.

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

IeXDI2 Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.