Compartir a través de


ExtExtension.OnSessionActive method

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

Syntax

virtual void OnSessionActive(
  [in] ULONG64 Argument
);

Parameters

  • Argument [in]
    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

Target platform

Desktop

Header

Engextcpp.hpp (include Engextcpp.hpp)

See also

ExtExtension

EXT_CLASS

Initialize

OnSessionAccessible

OnSessionInactive

 

 

Send comments about this topic to Microsoft