Need help filling out DUMP_POINTERS structure and Crash Dump

I’m writing a ScsiPort and trying to get crash dump working. Does anyone
know how to properly fill out the DUMP_POINTERS structure.

Following is the structure as it’s defined in the DDK

//
// Define structure for returning crash dump pointers.
//

struct _ADAPTER_OBJECT;

typedef struct _DUMP_POINTERS {
struct _ADAPTER_OBJECT *AdapterObject;
PVOID MappedRegisterBase;
PVOID DumpData;
PVOID CommonBufferVa;
LARGE_INTEGER CommonBufferPa;
ULONG CommonBufferSize;
BOOLEAN AllocateCommonBuffers;
UCHAR Spare1[3];
PVOID DeviceObject;
} DUMP_POINTERS, *PDUMP_POINTERS;

Thanks,

Daniel