DUMP_UNLOAD callback function (ntdddump.h)

The Dump_Unload callback routine is called when the dump stack is unloaded. For the dump stack, this routine is called when the crash dump functionality is disabled. For the hibernation stack, this routine is called after the system resumes from hibernation. This gives the filter driver an opportunity to free any resources that it may have allocated or do any clean-up required by the filter driver.

Syntax

DUMP_UNLOAD DumpUnload;

NTSTATUS DumpUnload(
  [in] PFILTER_EXTENSION FilterExtension
)
{...}

Parameters

[in] FilterExtension

A pointer to a FILTER_EXTENSION structure.

Return value

If the routine succeeds, it must return STATUS_SUCCESS. Otherwise, it must return one of the error status values defined in Ntstatus.h.

Requirements

Requirement Value
Minimum supported client Available starting with Windows Vista and Windows Server 2008.
Target Platform Desktop
Header ntdddump.h (include Ntdddump.h)

See also

FILTER_EXTENSION