Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.07 KB

idialinenumber-get-addressoffset.md

File metadata and controls

49 lines (36 loc) · 1.07 KB
description title ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Retrieves the offset part of the memory address where a block begins.
IDiaLineNumber::get_addressOffset
11/04/2016
reference
C++
IDiaLineNumber::get_addressOffset method
mikejo5000
mikejo
mijacobs
debug-diagnostics

IDiaLineNumber::get_addressOffset

Retrieves the offset part of the memory address where a block begins.

Syntax

HRESULT get_addressOffset ( 
   DWORD* pRetVal
);

Parameters

pRetVal

[out] Returns the offset part of the memory address where a block begins.

Return Value

If successful, returns S_OK. Returns S_FALSE if this property is not supported. Otherwise, returns an error code.

Example

CComPtr< IDiaLineNumber > pLine;
DWORD offset;
pLine->get_addressOffset( &offset);

See also