DUMP_POINTERS

Hi, All!

Can anyone explain me fields of DUMP_POINTERS structure?

Regards


Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

From MSDN:
IOCTL_SCSI_GET_DUMP_POINTERS
Operation
The system supplied SCSI port driver and atdisk driver support this request.
Any replacement driver that controls a disk used for the paging file, must
support this request.

This request is issued during system initialization. The driver must return
configuration parameters that are used if a system crash occurs to dump
memory to the paging file. The DUMP_POINTERS structure describes these
configuration parameters, and the driver must set all parameters
appropriately to its disk. Each pointer must be a valid pointer or NULL;
each size must be a valid size or zero.

Input
None.

Output
The driver returns the DUMP_POINTERS parameters in the buffer at
Irp->AssociatedIrp.SystemBuffer.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Dennis [mailto:xxxxx@yahoo.com]
Sent: Monday, May 08, 2000 5:07 AM
To: NT Developers Interest List
Subject: [ntdev] DUMP_POINTERS

Hi, All!

Can anyone explain me fields of DUMP_POINTERS structure?

I should rephrase Dennis’ question.

Can anyone explain how to fill out the DUMP_POINTERS structure.

Daniel

-----Original Message-----
From: Paul Bunn [mailto:xxxxx@ultrabac.com]
Sent: Tuesday, May 09, 2000 2:10 PM
To: NT Developers Interest List
Subject: [ntdev] RE: DUMP_POINTERS

From MSDN:
IOCTL_SCSI_GET_DUMP_POINTERS
Operation
The system supplied SCSI port driver and atdisk driver support this request.
Any replacement driver that controls a disk used for the paging file, must
support this request.

This request is issued during system initialization. The driver must return
configuration parameters that are used if a system crash occurs to dump
memory to the paging file. The DUMP_POINTERS structure describes these
configuration parameters, and the driver must set all parameters
appropriately to its disk. Each pointer must be a valid pointer or NULL;
each size must be a valid size or zero.

Input
None.

Output
The driver returns the DUMP_POINTERS parameters in the buffer at
Irp->AssociatedIrp.SystemBuffer.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Dennis [mailto:xxxxx@yahoo.com]
Sent: Monday, May 08, 2000 5:07 AM
To: NT Developers Interest List
Subject: [ntdev] DUMP_POINTERS

Hi, All!

Can anyone explain me fields of DUMP_POINTERS structure?


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Oh, I think that SCSIPORT takes care of it for you. Here’s how ATDISK.C
deals with it (ie it ignores it).

case IOCTL_SCSI_GET_DUMP_POINTERS:

//
// Get parameters for crash dump driver.
//

if (irpSp->Parameters.DeviceIoControl.OutputBufferLength
< sizeof(DUMP_POINTERS)) {
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;

} else {

PDUMP_POINTERS dumpPointers =
(PDUMP_POINTERS)Irp->AssociatedIrp.SystemBuffer;

dumpPointers->AdapterObject = NULL;
dumpPointers->MappedRegisterBase =
&diskExtension->ControllerExtension->MappedAddressList;
dumpPointers->PortConfiguration = NULL;
dumpPointers->CommonBufferVa = NULL;
dumpPointers->CommonBufferPa.QuadPart = 0;
dumpPointers->CommonBufferSize = 0;

Irp->IoStatus.Status = STATUS_SUCCESS;
Irp->IoStatus.Information = sizeof(DUMP_POINTERS);
}
break;

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Nemiroff, Daniel [mailto:xxxxx@intel.com]
Sent: Tuesday, May 09, 2000 2:30 PM
To: NT Developers Interest List
Subject: [ntdev] RE: DUMP_POINTERS

I should rephrase Dennis’ question.

Can anyone explain how to fill out the DUMP_POINTERS structure.

Daniel

-----Original Message-----
From: Paul Bunn [mailto:xxxxx@ultrabac.com]
Sent: Tuesday, May 09, 2000 2:10 PM
To: NT Developers Interest List
Subject: [ntdev] RE: DUMP_POINTERS

From MSDN:
IOCTL_SCSI_GET_DUMP_POINTERS
Operation
The system supplied SCSI port driver and atdisk driver support this request.
Any replacement driver that controls a disk used for the paging file, must
support this request.

This request is issued during system initialization. The driver must return
configuration parameters that are used if a system crash occurs to dump
memory to the paging file. The DUMP_POINTERS structure describes these
configuration parameters, and the driver must set all parameters
appropriately to its disk. Each pointer must be a valid pointer or NULL;
each size must be a valid size or zero.

Input
None.

Output
The driver returns the DUMP_POINTERS parameters in the buffer at
Irp->AssociatedIrp.SystemBuffer.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Dennis [mailto:xxxxx@yahoo.com]
Sent: Monday, May 08, 2000 5:07 AM
To: NT Developers Interest List
Subject: [ntdev] DUMP_POINTERS

Hi, All!

Can anyone explain me fields of DUMP_POINTERS structure?


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@ultrabac.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)