IDebugDisassemblyStream2::GetScope
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Gets the scope of the disassembly stream.
Syntax
HRESULT GetScope(
DISASSEMBLY_STREAM_SCOPE* pdwScope
);
int GetScope(
out enum_ DISASSEMBLY_STREAM_SCOPE pdwScope
);
Parameters
pdwScope
[out] Returns a value from the DISASSEMBLY_STREAM_SCOPE enumeration that describes the scope of this disassembly stream.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
The scope of a disassembly could be a function or the whole module, for example.