// ks.h
PFNKSINTERSECTHANDLEREX Pfnksintersecthandlerex;
NTSTATUS Pfnksintersecthandlerex(
[in] PVOID Context,
[in] PIRP Irp,
[in] PKSP_PIN Pin,
[in] PKSDATARANGE DataRange,
[in] PKSDATARANGE MatchingDataRange,
[in] ULONG DataBufferSize,
[out] PVOID Data,
[out] PULONG DataSize
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
AVStream calls a minidriver's AVStrMiniIntersectHandlerEx routine to determine the highest quality intersection of two data ranges.
Context [in]Pointer to the Context member of the corresponding KSFILTER structure.
Irp [in]Pointer to the IRP containing the intersection request.
Pin [in]Pointer to a structure of type KSP_PIN that was passed in the intersection property request.
DataRange [in]Pointer to an array of KSDATARANGE structures.
MatchingDataRange [in]Pointer to an array of KSDATARANGE structures to match to DataRange.
DataBufferSize [in]Specifies a value of type ULONG that contains the size of the data buffer.
Data [out]Pointer to an optional data buffer in which the minidriver outputs the intersection.
DataSize [out]Pointer to a value of type ULONG specifying the size of the data buffer.
If the callback finds a match, return STATUS_SUCCESS. Otherwise return STATUS_NO_MATCH.
The minidriver specifies this routine's address in the IntersectHandler member of a KSPIN_DESCRIPTOR_EX structure.
KSPROPERTY_PIN_DATAINTERSECTION