Share via


SetContext

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

This function sets the context of the process being debugged.

Syntax

ULONG SetContext(
  ULONG Target,
  PCONTEXT lpContext,
  ULONG cbSizeOfContext
);

Parameters

  • Target
    [in] Thread identifier of the thread being debugged.
  • lpContext
    [in] Address of a context structure that contains the context to be set for the process being debugged.
  • cbSizeOfContext
    [in] Size of the context structure.

Return Value

This function returns TRUE if the function call succeeds. Otherwise, the function returns FALSE.

Requirements

Header wdbgexts_ce.h
Library Developer Implemented
Windows Embedded CE Windows CE 3.0 and later

See Also

Concepts

Debugger Extension Functions