Skip to content

Latest commit

 

History

History
129 lines (89 loc) · 3.88 KB

nf-dbgeng-idebugsymbols2-getsourcepath.md

File metadata and controls

129 lines (89 loc) · 3.88 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.IDebugSymbols2.GetSourcePath
IDebugSymbols2::GetSourcePath (dbgeng.h)
The GetSourcePath method returns the source path. This method belongs to the IDebugSymbols2 interface.
debugger\getsourcepath.htm
debugger
05/03/2018
IDebugSymbols2::GetSourcePath
GetSourcePath, GetSourcePath method [Windows Debugging], GetSourcePath method [Windows Debugging],IDebugSymbols interface, GetSourcePath method [Windows Debugging],IDebugSymbols2 interface, GetSourcePath method [Windows Debugging],IDebugSymbols3 interface, IDebugSymbols interface [Windows Debugging],GetSourcePath method, IDebugSymbols2 interface [Windows Debugging],GetSourcePath method, IDebugSymbols2.GetSourcePath, IDebugSymbols2::GetSourcePath, IDebugSymbols3 interface [Windows Debugging],GetSourcePath method, IDebugSymbols3::GetSourcePath, IDebugSymbols::GetSourcePath, IDebugSymbols_cbdf5e16-41ba-4134-b41b-81164dfc07a0.xml, dbgeng/IDebugSymbols2::GetSourcePath, dbgeng/IDebugSymbols3::GetSourcePath, dbgeng/IDebugSymbols::GetSourcePath, debugger.getsourcepath
dbgeng.h
Dbgeng.h
Desktop
Windows
IDebugSymbols2::GetSourcePath
dbgeng/IDebugSymbols2::GetSourcePath
APIRef
kbSyntax
COM
dbgeng.h
IDebugSymbols2::GetSourcePath

IDebugSymbols2::GetSourcePath

-description

The GetSourcePath method returns the source path.

-parameters

-param Buffer [out, optional]

Receives the source path. This is a string that contains source path elements separated by semicolons (;). Each source path element can specify either a directory or a source server. If Buffer is NULL, this information is not returned.

-param BufferSize [in]

Specifies the size, in characters, of the Buffer buffer.

-param PathSize [out, optional]

Receives the size, in characters, of the source path.

-returns

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

Return code Description
S_OK
The method was successful.
S_FALSE
The method was successful. However, the buffer was not large enough to hold the source path and the path was truncated.

-remarks

The source path is used by the engine when searching for source files.

For more information about manipulating the source path, see Using Source Files. For an overview of the source path and its syntax, see Source Path.

-see-also

AppendSourcePath

GetSourcePathElement

IDebugSymbols

IDebugSymbols2

IDebugSymbols3

SetSourcePath