Skip to content

Latest commit

 

History

History
119 lines (80 loc) · 3.8 KB

nf-dbgeng-idebugcontrol2-callextension.md

File metadata and controls

119 lines (80 loc) · 3.8 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:dbgeng.IDebugControl2.CallExtension
IDebugControl2::CallExtension (dbgeng.h)
The CallExtension method calls a debugger extension. This method belongs to the IDebugControl2 interface.
debugger\callextension.htm
debugger
05/03/2018
IDebugControl2::CallExtension
CallExtension, CallExtension method [Windows Debugging], CallExtension method [Windows Debugging],IDebugControl interface, CallExtension method [Windows Debugging],IDebugControl2 interface, CallExtension method [Windows Debugging],IDebugControl3 interface, IDebugControl interface [Windows Debugging],CallExtension method, IDebugControl2 interface [Windows Debugging],CallExtension method, IDebugControl2.CallExtension, IDebugControl2::CallExtension, IDebugControl3 interface [Windows Debugging],CallExtension method, IDebugControl3::CallExtension, IDebugControl::CallExtension, IDebugControl_c37b420a-b94b-4d54-8a5a-2e1a74b49f26.xml, dbgeng/IDebugControl2::CallExtension, dbgeng/IDebugControl3::CallExtension, dbgeng/IDebugControl::CallExtension, debugger.callextension
dbgeng.h
Dbgeng.h
Desktop
Windows
IDebugControl2::CallExtension
dbgeng/IDebugControl2::CallExtension
APIRef
kbSyntax
COM
dbgeng.h
IDebugControl2::CallExtension

IDebugControl2::CallExtension

-description

The CallExtension method calls a debugger extension.

-parameters

-param Handle [in]

Specifies the handle of the extension library that contains the extension to call. If Handle is zero, the engine will walk the extension library chain searching for the extension.

-param Function [in]

Specifies the name of the extension to call.

-param Arguments [in, optional]

Specifies the arguments to pass to the extension. Arguments is a string that will be parsed by the extension, just like the extension will parse arguments passed to it when called as an extension command.

-returns

Return code Description
S_OK
The method was successful.
 

This method can also return error values. See Return Values for more details.

-remarks

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.

-see-also

AddExtension

GetExtensionByPath

GetExtensionFunction

IDebugControl

IDebugControl2

IDebugControl3