Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8322957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:33:37+00:00 2026-06-08T23:33:37+00:00

I am using the following function to read a .dmp file which contains user-defined

  • 0

I am using the following function to read a .dmp file which contains user-defined streams. Now my problem is that in my dumps, there exist multiple streams with equal stream types.

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

As far as I see in my tests, the above function will only return to me the very first occurance of such stream, ignoring all others, because it retrieves the streams by their type, and not the index of occurance.
If I analyze my dump file with the dumpchk.exe utility, it correctly displays all other streams being present. Also I was able to read out the streams correctly with my own reader code which is quite ugly, so I do not really want to use it.

So just for clarification. Is this an issue with the MiniDumpReadDumpStream function or is there a rule that forbits multiple streams with identical types? I could not locate such instructions in the documentation (msdn)…
Or is there a way to make the function return the other streams?

Looking forward to your answers…

Best regards,
Fabian

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T23:33:39+00:00Added an answer on June 8, 2026 at 11:33 pm

    As a matter of fact, the stream types enumerated in MINIDUMP_STREAM_TYPE are unique, these types occur 0 or 1 time in the same dump. Custom Streams (MINIDUMP_USER_STREAM) can exist 0 or several times in the same dump. There is no way to index the custom streams using MiniDumpReadDumpStream. Since the size of custom streams is well known – by you, the one who puts these programmatically in the dump – you can address all of them by moving the cursor in memory once you retrieved the first custom stream using MiniDumpReadDumpStream.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the following basic function which I copied from the net to read
What are the sql exceptions will thrown by using the following function: Read Update
I am using following function. Whenever i call it that time it will increase
I'm using the following function that changes a calendar selection at a set time
I am using the following function to create a simple accordion. The problem is
i am using org.w3c.dom in java to read an xml with the following function
I have a subprocess function (called parseContents) that gets called using the following code:
I have a text file that contains the following data. The first line is
I'm currently using the following code for my read more buttons: $(document).ready(function() { $("a.more-link").attr("href",
I wanted to read the content of a file using the read() function. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.