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

This commit is contained in:
Dmitry Timoshkov 2009-05-21 13:31:04 +09:00 committed by Alexandre Julliard
parent d17afea70f
commit d82df8f9b0

View file

@ -1005,9 +1005,9 @@ BOOL WINAPI MiniDumpReadDumpStream(PVOID base, ULONG str_idx,
{
if (dir->StreamType == str_idx)
{
*pdir = dir;
*stream = (char*)base + dir->Location.Rva;
*size = dir->Location.DataSize;
if (pdir) *pdir = dir;
if (stream) *stream = (char*)base + dir->Location.Rva;
if (size) *size = dir->Location.DataSize;
return TRUE;
}
}