PFNKSPINVOID callback function (ks.h)
An AVStream minidriver's callback routine is called when:
- The relevant KSPIN is serving as a sink pin and this sink pin is disconnected from an AVStream source pin.
- 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.
Syntax
PFNKSPINVOID Pfnkspinvoid;
void Pfnkspinvoid(
[in] PKSPIN Pin
)
{...}
Parameters
[in] Pin
Pointer to the relevant KSPIN, serving as a sink pin.
Return value
None
Remarks
About AVStrMiniPinDisconnect
The minidriver specifies this routine's address in the Disconnect member of its KSPIN_DISPATCH structure.
This routine is optional.
Also see KS Pins.
About AVStrMiniPinReset
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
Requirement | Value |
---|---|
Minimum supported client | Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions. |
Target Platform | Desktop |
Header | ks.h (include Ks.h) |