// ks.h
PFNKSFILTERVOID Pfnksfiltervoid;
NTSTATUS Pfnksfiltervoid(
[in] PKSFILTER Filter
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
An AVStream minidriver's AVStrMiniFilterReset routine is called when AVStream receives an IOCTL_KS_RESET_STATE to return the filter to the state it was in at Acquire-time. This routine is also called when a queue associated with a pin on the filter is flushed. This routine will only be called for a filter-centric filter.
Filter
[in]Pointer to the KSFILTER to return to its previous state.
AVStream does not currently use the return value.
For more information, see Filter-Centric Processing.
Note that it is not the filter in question, but rather a pin on this filter that actually receives the reset IOCTL.
The minidriver specifies this routine's address in the Reset member of its KSFILTER_DISPATCH structure.
The filter control mutex may be held during this function. See Filter Control Mutex in AVStream.
This routine is optional.