https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/dbgeng/nc-dbgeng-pdebug_extension_uninitialize
PDEBUG_EXTENSION_UNINITIALIZE (dbgeng.h) - Windows drivers | Microsoft Learn
The DebugExtensionUninitialize callback function is called by the engine to uninitialize the DbgEng extension DLL before it is unloaded.
windows driversextensionhmicrosoftlearn