// wdm.h
typedef struct _KBUGCHECK_SECONDARY_DUMP_DATA {
IN PVOID InBuffer;
IN ULONG InBufferLength;
IN ULONG MaximumAllowed;
OUT GUID Guid;
OUT PVOID OutBuffer;
OUT ULONG OutBufferLength;
} KBUGCHECK_SECONDARY_DUMP_DATA, *PKBUGCHECK_SECONDARY_DUMP_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
The KBUGCHECK_SECONDARY_DUMP_DATA structure describes a section of driver-supplied data to be written by KbCallbackSecondaryDumpData routine to the crash dump file.
InBufferPointer to a buffer that is allocated by the system.
InBufferLengthSpecifies the size of the buffer, in bytes, specified by the InBuffer member.
MaximumAllowedSpecifies the maximum amount of data that the KbCallbackSecondaryDumpData routine can write to the crash dump file.
GuidSpecifies a GUID that identifies the driver's crash dump data. (Drivers must use unique GUIDs to mark their crash dump data. Use the GuidGen.exe tool to generate GUIDs for your driver. This tool is included in the Microsoft Windows SDK.)
OutBufferPointer to the buffer where the driver writes its crash dump data, or NULL.
OutBufferLengthSpecifies the size of the buffer, in bytes, that was specified by the OutBuffer member.
For more information about how this structure is used, see Writing a Bug Check Callback Routine and KBUGCHECK_REASON_CALLBACK_ROUTINE callback function.
Writing a Bug Check Callback Routine.