Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HRESULT loadDataFromIStream (

`pIStream`

[in] An <xref:IStream> object representing the data stream to use.
[in] An [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object representing the data stream to use.

## Return Value

Expand All @@ -43,7 +43,7 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t

## Remarks

This method allows the debug data for an executable to be obtained through an <xref:IStream> object.
This method allows the debug data for an executable to be obtained through an [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object.

To load with prefetching, use the [`IDiaDataSourceEx::loadDataFromIStreamEx`](../../debugger/debug-interface-access/idiadatasourceex-loaddatafromistreamex.md) method.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ HRESULT loadDataFromIStreamEx (

`pIStream`

[in] An <xref:IStream> object representing the data stream to use.
[in] An [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object representing the data stream to use.

`fPdbPrefetching`

[in] If set to `TRUE`, adjacent debug records are prefetched into memory, potentially replacing many smaller file I/O operations with fewer, larger operations, and thus improving overall throughput as those records are subsequently accessed, at the expense of potentially increased memory usage. If set to `FALSE`, this behaves identically to [`IDiaDataSource::loadDataFromIStream`](../../debugger/debug-interface-access/idiadatasource-loaddatafromistream.md). If set to some other value, behavior is unspecified.
[in] If set to `TRUE`, adjacent debug records are prefetched into memory, potentially replacing many smaller file I/O operations with fewer, larger operations, and thus improving overall throughput as those records are subsequently accessed, at the expense of potentially increased memory usage. If set to `FALSE`, this function behaves identically to [`IDiaDataSource::loadDataFromIStream`](../../debugger/debug-interface-access/idiadatasource-loaddatafromistream.md). If set to some other value, behavior is unspecified.

## Return Value

Expand All @@ -44,11 +44,11 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t
|-----------|-----------------|
|`E_PDB_FORMAT`|Attempted to access a file with an obsolete format.|
|`E_INVALIDARG`|Invalid parameter.|
|`E_UNEXPECTED`|Data source has already been prepared.|
|`E_UNEXPECTED`|Data source is already prepared.|

## Remarks

This method allows the debug data for an executable to be obtained from memory through an <xref:IStream> object.
This method allows the debug data for an executable to be obtained from memory through an [IStream](/windows/desktop/api/objidl/nn-objidl-istream) object.

To load a .pdb file without validation, use the [`IDiaDataSourceEx::loadDataFromPdbEx`](../../debugger/debug-interface-access/idiadatasourceex-loaddatafrompdbex.md) method.

Expand Down
1 change: 1 addition & 0 deletions docs/debugger/protected-mode-dump-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Protected mode isolates the debugger process from the rest of the system using A
* The **Tasks** view will be empty in the Parallel Stacks window
* The debugger **Tasks** window (**Debug->Windows->Tasks**) will be empty
* Protected mode isn't enabled for Diagnostic Analysis and Debug Managed Memory
* Source Server isn't available in protected mode

## Disable protected mode

Expand Down