PFNKSINTERSECTHANDLEREX - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ks-pfnksintersecthandlerex)

PFNKSINTERSECTHANDLEREX callback function

Description

AVStream calls a minidriver's AVStrMiniIntersectHandlerEx routine to determine the highest quality intersection of two data ranges.

Parameters

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.

Return value

If the callback finds a match, return STATUS_SUCCESS. Otherwise return STATUS_NO_MATCH.

Remarks

The minidriver specifies this routine's address in the IntersectHandler member of a KSPIN_DESCRIPTOR_EX structure.

See also

KSDATARANGE

KSFILTER

KSPIN_DESCRIPTOR_EX

KSPROPERTY_PIN_DATAINTERSECTION

KSP_PIN

KsPinDataIntersectionEx