Debugging Tools for Windows

OnSessionActive

The OnSessionActive method is called by the engine to inform the EngExtCpp extension library when the debugging session becomes active.

virtual void
  ExtExtension::OnSessionActive(
    IN ULONG64  Argument
    )

Parameters

Argument
Set to zero. (Reserved for future use).

Return Value

None

Comments

The session might not be accessible.

If this method is defined in the extension library class EXT_CLASS, it can be used to allow the extension library to cache information about the session without the need to register event callbacks.

This method is called at the beginning of a session and, if a session has already started, after the extension library is initialized.

If a target is suspended, OnSessionAccessible is called instead.

Requirements

Headers: Defined in Engextcpp.hpp. Include Engextcpp.hpp.

See Also

EXT_CLASS, Initialize, OnSessionAccessible, OnSessionInactive

Build machine: CAPEBUILD