Debugging Tools for Windows

DEBUG_REQUEST_READ_USER_MINIDUMP_STREAM

The DEBUG_REQUEST_READ_USER_MINIDUMP_STREAM Request operation reads a stream from a user-mode minidump target.

Parameters

InBuffer
The stream to read and the buffer into which to place the contents of the stream. The type of this parameter is DEBUG_READ_USER_MINIDUMP_STREAM.
OutBuffer
Not used.

The DEBUG_READ_USER_MINIDUMP_STREAM structure holds the parameters for the DEBUG_REQUEST_READ_USER_MINIDUMP_STREAM Request operation.

typedef struct _DEBUG_READ_USER_MINIDUMP_STREAM
{
    IN ULONG  StreamType;
    IN ULONG  Flags;
    IN ULONG64  Offset;
    OUT PVOID  Buffer;
    IN ULONG  BufferSize;
    OUT ULONG  BufferUsed;
} DEBUG_READ_USER_MINIDUMP_STREAM, *PDEBUG_READ_USER_MINIDUMP_STREAM;

Members

StreamType
Specifies the stream to read from the minidump file. The possible values for StreamType come from the MINIDUMP_STREAM_TYPE enumeration .

For a list of possible values and their interpretation, see the MINIDUMP_STREAM_TYPE topic in the Debug Help Library documentation in dbghelp.chm.

Flags
Set to zero.
Offset
Specifies the offset within the stream to start reading. To start reading from the beginning of the stream, set Offset to zero.
Buffer
Receives the bytes read from the minidump stream. Buffer can not be NULL.
BufferSize
Specifies the size, in bytes, of the buffer Buffer.
BufferUsed
Receives the number of bytes read into the buffer Buffer.

Comments

The target must be a user-mode minidump file.

Each minidump file contains a number of streams. These streams are blocks of data written to the minidump file.

Requirements

Headers: Defined in dbgeng.h. Include dbgeng.h.

See Also

Request

Build machine: CAPEBUILD