Share via


IDebugDisassemblyStream2::GetScope

Gets the scope of the disassembly stream.

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.

See Also

Reference

IDebugDisassemblyStream2

DISASSEMBLY_STREAM_SCOPE