IeXdiServer::GetRunStatus

This method returns the current run status.

HRESULT GetRunStatus(
  PRUN_STATUS_TYPE persCurrent,
  PHALT_REASON_TYPE pehrCurrent,
  ADDRESS_TYPE* pCurrentExecAddress,
  DWORD* pdwExceptionCode
);

Parameters

  • persCurrent
    [out] Returns the current run status type.
  • pehrCurrent
    [out] Returns the current halt reason type.
  • pCurrentExecAddress
    [out] ** Returns the current program or instruction pointer if run status is halted. It is undefined otherwise.
  • pdwExceptionCode
    [out] Returns the exception type or source if halted due to exception.

Return Values

This method has the following return values.

Return value Description
S_OK Function is successful.
EXDI_E_NOTIMPL Not implemented.
EXDI_E_OUTOFMEMORY Failed to allocate necessary memory.
EXDI_E_INVALIDARG One or more arguments are invalid.
EXDI_E_ABORT Operation aborted.
EXDI_E_FAIL Unspecified failure occurred.
EXDI_E_COMMUNICATION Communication error occurred between host driver and target.
EXDI_E_USEDBYCONCURRENTTHREAD Cannot proceed immediately because resource is already used by concurrent thread.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: exdi.idl.

See Also

IeXdiServer

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.