Re: BugCheckSecondaryDumpDataCallback Question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I wish I could get it out of the registry. I guess I could read the value
from the registry during initialization, but it could change. That callback
is run at HIGH_LEVEL IRQL, which eliminates any registry usage. It almost
eliminates any use of Kernel APIs. I have nonpaged pool structures that
would be useful to save if it is a minidump, but redundant to save if a
kernel or full dump. I was hoping it was easier to know, but since this is
a MSDN nospam email address someone from Microsoft may respond this week.

"Scott Noone" <snoone@xxxxxxx> wrote in message
news:ev63SOkTJHA.5812@xxxxxxxxxxxxxxxxxxxxxxx
I've never written one of those callbacks, but I can say that I've never
seen an API that will return the configured dump type (which of course
doesn't necessarily mean that there isn't one).

If necessary, you can always get this out of the registry by reading the
CrashDumpEnabled value and caching the result. You'd also need to deal
with this value changing if being 100% correct is critical.

HTH,

-scott


--
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com


"David Craig" <drivers@xxxxxxxxxxxxx> wrote in message
news:uZkr5FUTJHA.1164@xxxxxxxxxxxxxxxxxxxxxxx
In a BugCheckSecondaryDumpDataCallback function can you determine if a
minidump or a kernel dump is being created?






.



Relevant Pages

  • Re: BugCheckSecondaryDumpDataCallback Question
    ... you'd definitely need to cache it early and then invalidate if it ... callback is run at HIGH_LEVEL IRQL, which eliminates any registry usage. ... It almost eliminates any use of Kernel APIs. ... to save if a kernel or full dump. ...
    (microsoft.public.development.device.drivers)
  • Re: BugCheckSecondaryDumpDataCallback Question
    ... structure will be present in the dump and I don't need to save it. ... do a kernel dump, but during the dump it switches to a minidump. ... Can you tell us why you want to know whether minidump or kernel dump is ... registry after that will only take effect after reboot. ...
    (microsoft.public.development.device.drivers)
  • Re: BugCheckSecondaryDumpDataCallback Question
    ... I will caution against drivers relying only on this information as in Win7, there is a potential that you will only get a minidump even if the system was configured for a kernel dump due to insufficient dump file space. ... registry after that will only take effect after reboot. ...
    (microsoft.public.development.device.drivers)
  • RE: Conflict between crash dump registry setting and GUI
    ... Conflict between crash dump registry setting ... >But when I look in the Startup and Recovery settings GUI ... Memory Dump of a system with more than 2GB RAM. ...
    (microsoft.public.win2000.registry)
  • RE: Conflict between crash dump registry setting and GUI
    ... Conflict between crash dump registry setting and GUI ... Natively Windows 2000 is not capable of doing a Complete Memory Dump of a system with more than 2GB RAM. ...
    (microsoft.public.win2000.registry)