KSFILTER_DISPATCH structure

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

Version

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

KsCompletePendingRequest
KSPROCESSPIN
KSPROCESSPIN_INDEXENTRY

 

 

Send comments about this topic to Microsoft

Show: