PDEBUG_EXTENSION_UNINITIALIZE callback function

The DebugExtensionUninitialize callback function is called by the engine to uninitialize the DbgEng extension DLL before it is unloaded.

 CALLBACK* PDEBUG_EXTENSION_UNINITIALIZE DebugExtensionUninitialize;

Syntax

PDEBUG_EXTENSION_UNINITIALIZE PdebugExtensionUninitialize;

void PdebugExtensionUninitialize(
  void Arg1
)
{...}

Parameters

Arg1

Return Value

This callback function does not return a value.

Remarks

This function is optional. A DbgEng extension DLL only needs to export DebugExtensionUninitialize if it needs to be notified before it is unloaded. The engine looks for this function by name in the extension DLL.

This function can be used by the extension DLL to clean up before it is unloaded.

There may or may not be a session active when this function is called, so the extension should not assume that it is able to query session information.

DebugExtensionUninitialize is called PDEBUG_EXTENSION_UNINITIALIZE in the Dbgeng.h header file.

Requirements

   
Target Platform Universal
Header dbgeng.h

See Also

DebugExtensionInitialize