Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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;
PDUMP_PRE_READ_WRITE DumpPreReadWrite;
} 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.
DumpPreReadWrite
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) |