IDebugControl::GetExtensionByPath method (dbgeng.h)

The GetExtensionByPath method returns the handle for an already loaded extension library.

Syntax

HRESULT GetExtensionByPath(
  [in]  PCSTR    Path,
  [out] PULONG64 Handle
);

Parameters

[in] Path

Specifies the fully qualified path and file name of the extension library.

[out] Handle

Receives the handle of the extension library.

Return value

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

Return code Description
S_OK
The method was successful.

Remarks

Extension libraries are loaded into the host engine, which is where this method looks for the requested extension library. Path is a path and file name for the host engine.

For more information on using extension libraries, see Calling Extensions and Extension Functions.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

AddExtension

IDebugControl

IDebugControl2

IDebugControl3