共用方式為


IDebugSymbolProvider::GetNextAddress

 

如需 Visual Studio 2017 的最新文件請參閱 Visual Studio 2017 文件

取得偵錯位址後面指定偵錯中的地址的方法。

語法

HRESULT GetNextAddress(   
   IDebugAddress*  pAddress,  
   BOOL            fStatementOnly,  
   IDebugAddress** ppAddress  
);  
int GetNextAddress(   
   IDebugAddress     pAddress,  
   bool              fStatementOnly,  
   out IDebugAddress ppAddress  
);  

參數

pAddress
[in]指定偵錯的位址。

fStatementOnly
[in]如果為 TRUE,則會限制單一陳述式的偵錯位址。

ppAddress
[out]傳回下一個偵錯位址。

傳回值

傳回有效HRESULT,通常 S_OK。

另請參閱

IDebugSymbolProvider