Debugging Tools for Windows |
The CallExtension and CallExtensionWide methods call a debugger extension.
HRESULT
IDebugControl::CallExtension(
IN ULONG64 Handle,
IN PCSTR Function,
IN OPTIONAL PCSTR Arguments
);
HRESULT
IdebugControl4::CallExtensionWide(
IN ULONG64 Handle,
IN PCWSTR Function,
IN OPTIONAL PCWSTR Arguments
);
#ifdef UNICODE
#define AddExtensionT AddExtensionWide
#else
#define AddExtensionT AddExtension
#endif
This method can also return error values. See Return Values for more details.
CallExtension is available in all versions of IDebugControl. CallExtensionWide is available in IDebugControl4 and later versions.
If Handle is zero, the engine searches each extension library until it finds one that contains the extension; the extension will then be called. If the extension returns DEBUG_EXTENSION_CONTINUE_SEARCH, the search will continue.
For more information on using extension libraries, see Calling Extensions and Extension Functions.
Headers: Defined in dbgeng.h. Include dbgeng.h.