Commit d82df8f9 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

dbghelp: All parameters of MiniDumpReadDumpStream() except base are optional.

parent d17afea7
...@@ -1005,9 +1005,9 @@ BOOL WINAPI MiniDumpReadDumpStream(PVOID base, ULONG str_idx, ...@@ -1005,9 +1005,9 @@ BOOL WINAPI MiniDumpReadDumpStream(PVOID base, ULONG str_idx,
{ {
if (dir->StreamType == str_idx) if (dir->StreamType == str_idx)
{ {
*pdir = dir; if (pdir) *pdir = dir;
*stream = (char*)base + dir->Location.Rva; if (stream) *stream = (char*)base + dir->Location.Rva;
*size = dir->Location.DataSize; if (size) *size = dir->Location.DataSize;
return TRUE; return TRUE;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment