MiniDumpReadDumpStream
TOC
Collapse the table of content
Expand the table of content

MiniDumpReadDumpStream function

Reads a stream from a user-mode minidump file.

Syntax


BOOL WINAPI MiniDumpReadDumpStream(
  _In_  PVOID               BaseOfDump,
  _In_  ULONG               StreamNumber,
  _Out_ PMINIDUMP_DIRECTORY *Dir,
  _Out_ PVOID               *StreamPointer,
  _Out_ ULONG               *StreamSize
);

Parameters

BaseOfDump [in]

A pointer to the base of the mapped minidump file. The file should have been mapped into memory using the MapViewOfFile function.

StreamNumber [in]

The type of data to be read from the minidump file. This member can be one of the values in the MINIDUMP_STREAM_TYPE enumeration.

Dir [out]

A pointer to a MINIDUMP_DIRECTORY structure.

StreamPointer [out]

A pointer to the beginning of the minidump stream. The format of this stream depends on the value of StreamNumber. For more information, see MINIDUMP_STREAM_TYPE.

StreamSize [out]

The size of the stream pointed to by StreamPointer, in bytes.

Return value

If the function succeeds, the return value is TRUE; otherwise, the return value is FALSE.

Remarks

In this context, a data stream is a block of data written to a minidump file.

Requirements

Redistributable

DbgHelp.dll and Dbgcore.dll

Header

Dbghelp.h

Library

Dbghelp.lib

DLL

Dbghelp.dll;
Dbgcore.dll

See also

DbgHelp Functions
MINIDUMP_DIRECTORY
MINIDUMP_STREAM_TYPE
MiniDumpWriteDump

 

 

Show:
© 2016 Microsoft