Share via


SetContext (Compact 2013)

3/26/2014

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

See Also

Reference

Debugger Extension Functions