Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the code context that describes the location of this event.
Syntax
Parameters
ppCodeContext
[out] Returns the IDebugCodeContext2 object that represents the current code location.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
For most run-time architectures, a code context can be thought of as an address in a program's execution stream, pointing to a specific instruction.
To get the document context, which is oriented towards lines of source code, call the GetDocumentContext method.