ExtExtension::OnSessionActive method (engextcpp.hpp)
The OnSessionActive method is called by the engine to inform the EngExtCpp extension library when the debugging session becomes active.
Syntax
void __thiscall OnSessionActive(
[in] ULONG64 Argument
);
Parameters
[in] Argument
Set to zero. (Reserved for future use).
Return value
This method does not return a value.
Remarks
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | engextcpp.hpp (include Engextcpp.hpp) |