IDebugSymbols::SetImagePath method (dbgeng.h)

The SetImagePath method sets the executable image path.

Syntax

HRESULT SetImagePath(
  [in] PCSTR Path
);

Parameters

[in] Path

Specifies the new executable image path. This is a string that contains directories separated by semicolons (;).

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

The executable image path is used by the engine when searching for executable images.

The executable image path can consist of several directories separated by semicolons. These directories are searched in order.

Requirements

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

See also

AppendImagePath

GetImagePath

IDebugSymbols

IDebugSymbols2

IDebugSymbols3