IeXdiSHXContext::SetContext

This method writes to a set of microprocessor or co-processor registers that define the target's state.

HRESULT SetContext(
  CONTEXT_SHX Context
);

Parameters

  • Context
    [in] Microprocessor-dependent context structure.

Return Values

This method has the following return values.

Return value Description
S_OK Function is successful.
EXDI_E_CANNOTWHILETGTRUNNING Cannot proceed while target is running. Must halt the target first.
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

IeXdiSHXContext

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.