Bewerken

Delen via


KSFILTER_DISPATCH structure (ks.h)

The KSFILTER_DISPATCH structure describes the client callbacks that are made to notify the client of certain events on a given filter type.

Syntax

typedef struct _KSFILTER_DISPATCH {
  PFNKSFILTERIRP     Create;
  PFNKSFILTERIRP     Close;
  PFNKSFILTERPROCESS Process;
  PFNKSFILTERVOID    Reset;
} KSFILTER_DISPATCH, *PKSFILTER_DISPATCH;

Members

Create

Optional. A pointer to a minidriver-supplied AVStrMiniFilterCreate callback routine.

Close

Optional. A pointer to a minidriver-supplied AVStrMiniFilterClose callback routine.

Process

Optional. A pointer to a minidriver-supplied AVStrMiniFilterProcess callback routine.

Reset

Optional. A pointer to a minidriver-supplied AVStrMiniFilterReset callback routine.

Remarks

Any of the callback pointers may be NULL, indicating that the driver does not wish to receive notification of a given event.

Also see Restarting Processing in AVStream and

Filter-Centric Processing.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and in Microsoft DirectX 8.0 and later versions.
Header ks.h (include Ks.h)

See also

KSPROCESSPIN

KSPROCESSPIN_INDEXENTRY

KsCompletePendingRequest