FILTER_INITIALIZATION_DATA structure (ntdddump.h)
The filter driver fills in a FILTER_INITIALIZATION_DATA structure and returns it to the crash dump driver.
Syntax
typedef struct _FILTER_INITIALIZATION_DATA {
ULONG MajorVersion;
ULONG MinorVersion;
PDUMP_START DumpStart;
PDUMP_WRITE DumpWrite;
PDUMP_FINISH DumpFinish;
PDUMP_UNLOAD DumpUnload;
PVOID DumpData;
ULONG MaxPagesPerWrite;
ULONG Flags;
PDUMP_READ DumpRead;
} FILTER_INITIALIZATION_DATA, *PFILTER_INITIALIZATION_DATA;
Members
MajorVersion
Set to one of the following major version values:
DUMP_FILTER_MAJOR_VERSION_1 (0x1)
DUMP_FILTER_MAJOR_VERSION (0x2)
MinorVersion
Set to DUMP_FILTER_MINOR_VERSION.
DumpStart
A pointer to the dump initialization routine. This routine is called when the crash dump starts.
DumpWrite
A pointer to the write routine. This routine is called before every crash dump write request.
DumpFinish
A pointer to the dump finish routine. This routine is called when the crash dump is finished.
DumpUnload
A pointer to the dump unload routine. This routine is called before the driver is unloaded.
DumpData
The filter driver can pass a pointer to internal context data in this member. This pointer is passed back to the filter driver in a FILTER_EXTENSION structure during each callback.
MaxPagesPerWrite
The maximum number of pages for each dump read or write request.
Flags
A set of flags for dump filter initialization. This value is set to either 0 or the following:
DumpRead
A pointer to the read routine. This routine is called after every crash dump read request. This member is available starting in Windows 8.
Remarks
For a dump filter driver to support read filtering, the following settings are required:
- The DUMP_FILTER_FLAG_SYSTEM_SUPPORT_READ flag is set in Flags.
- MajorVersion is set to DUMP_FILTER_MAJOR_VERSION = 2.
- The DumpRead pointer is set to the dump filter driver's read routine.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows Vista and Windows Server 2008. |
Header | ntdddump.h (include Ntdddump.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for