IDebugDisassemblyStream2:: GetCurrentLocation

返回表示当前代码位置的代码位置标识符。

HRESULT GetCurrentLocation( 
   UINT64* puCodeLocationId
);
int GetCurrentLocation( 
   out ulong puCodeLocationId
);

参数

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

代码位置标识符可以转换为代码上下文中调用 IDebugDisassemblyStream2:: GetCodeContext 方法。

请参见

参考

IDebugDocumentContext2

IDebugDisassemblyStream2:: GetCodeLocationId

IDebugDisassemblyStream2:: GetCodeContext