Compartilhar via


AVStrMiniPinReset routine

An AVStream minidriver's AVStrMiniPinReset routine is called when a KSPIN structure's reset state is changed due to the arrival of an IOCTL_KS_RESET_STATE device control. This routine is also called when the queue associated with the given pin is flushed. This routine is only called on pin-centric pins.

Syntax

PFNKSPINVOID AVStrMiniPinReset;

void AVStrMiniPinReset(
  _In_ PKSPIN Pin
)
{ ... }

Parameters

  • Pin [in]
    Pointer to the KSPIN structure to return to its previous state.

Return value

None

Remarks

For more information, see Pin-Centric Processing.

The minidriver specifies this routine's address in the Reset member of its KSPIN_DISPATCH structure.

Typically, this routine is provided by minidrivers that must flush hardware buffers. The filter control mutex may be held during this function. See Filter Control Mutex in AVStream.

This routine is optional.

Requirements

Target platform

Desktop

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

See also

KSPIN_DISPATCH

KSPIN

 

 

Send comments about this topic to Microsoft