Skip to content

Latest commit

 

History

History
119 lines (80 loc) · 4.04 KB

nf-dbgeng-idebugsymbols-getmodulebyoffset.md

File metadata and controls

119 lines (80 loc) · 4.04 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.IDebugSymbols.GetModuleByOffset
IDebugSymbols::GetModuleByOffset (dbgeng.h)
The IDebugSymbols::GetModuleByOffset method searches through the target's modules for one whose memory allocation includes the specified location.
debugger\getmodulebyoffset.htm
debugger
05/03/2018
IDebugSymbols::GetModuleByOffset
GetModuleByOffset, GetModuleByOffset method [Windows Debugging], GetModuleByOffset method [Windows Debugging],IDebugSymbols interface, GetModuleByOffset method [Windows Debugging],IDebugSymbols2 interface, GetModuleByOffset method [Windows Debugging],IDebugSymbols3 interface, IDebugSymbols interface [Windows Debugging],GetModuleByOffset method, IDebugSymbols.GetModuleByOffset, IDebugSymbols2 interface [Windows Debugging],GetModuleByOffset method, IDebugSymbols2::GetModuleByOffset, IDebugSymbols3 interface [Windows Debugging],GetModuleByOffset method, IDebugSymbols3::GetModuleByOffset, IDebugSymbols::GetModuleByOffset, IDebugSymbols_2f5375ce-a9f1-4e86-ab82-7f35edc716c2.xml, dbgeng/IDebugSymbols2::GetModuleByOffset, dbgeng/IDebugSymbols3::GetModuleByOffset, dbgeng/IDebugSymbols::GetModuleByOffset, debugger.getmodulebyoffset
dbgeng.h
Dbgeng.h
Desktop
Windows
IDebugSymbols::GetModuleByOffset
dbgeng/IDebugSymbols::GetModuleByOffset
APIRef
kbSyntax
COM
dbgeng.h
IDebugSymbols::GetModuleByOffset

IDebugSymbols::GetModuleByOffset

-description

The GetModuleByOffset method searches through the target's modules for one whose memory allocation includes the specified location.

-parameters

-param Offset [in]

Specifies a location in the target's virtual address space which is inside the desired module's memory allocation -- for example, the address of a symbol belonging to the module.

-param StartIndex [in]

Specifies the index to start searching from.

-param Index [out, optional]

Receives the index of the module. If Index is NULL, this information is not returned.

-param Base [out, optional]

Receives the location in the target's memory address space of the base of the module. If Base is NULL, this information is not returned.

-returns

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

Return code Description
S_OK
The method was successful.

-remarks

Starting at the specified index, this method returns the first module it finds whose memory allocation address range includes the specified location. If the target has more than one module whose memory address range includes this location, then subsequent modules can be found by repeated calls to this method with higher values of StartIndex.

For more information about modules, see Modules.

-see-also

GetModuleByIndex

GetModuleByOffset2

IDebugSymbols

IDebugSymbols2

IDebugSymbols3