Re: BugCheckSecondaryDumpDataCallback Question
- From: "David Craig" <drivers@xxxxxxxxxxxxx>
- Date: Mon, 24 Nov 2008 09:31:16 -0800
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?
.
- Follow-Ups:
- Re: BugCheckSecondaryDumpDataCallback Question
- From: Alexander Grigoriev
- Re: BugCheckSecondaryDumpDataCallback Question
- From: Scott Noone
- Re: BugCheckSecondaryDumpDataCallback Question
- References:
- BugCheckSecondaryDumpDataCallback Question
- From: David Craig
- Re: BugCheckSecondaryDumpDataCallback Question
- From: Scott Noone
- BugCheckSecondaryDumpDataCallback Question
- Prev by Date: Virtual Audio Driver (Reformatting)
- Next by Date: Re: Installing a Printer driver and its plugin from INF file.
- Previous by thread: Re: BugCheckSecondaryDumpDataCallback Question
- Next by thread: Re: BugCheckSecondaryDumpDataCallback Question
- Index(es):
Relevant Pages
|