PFNKSPINFRAMERETURN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

PFNKSPINFRAMERETURN Pfnkspinframereturn;

void Pfnkspinframereturn(
  [in]           PKSPIN Pin,
  [in, optional] PVOID Data,
  [in, optional] ULONG Size,
  [in, optional] PMDL Mdl,
  [in, optional] PVOID Context,
  [in]           NTSTATUS Status
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

An AVStream minidriver's AVStrMiniFrameReturn routine is called when an injected frame has completed its trip around the circuit and is ready to be recycled or freed.

Parameters

Pin [in]

Pointer to a KSPIN structure representing the pin on which the frame was injected.

Data [in, optional]

Pointer to the buffer originally specified in the call to KsPinSubmitFrame.

Size [in, optional]

Specifies the size in bytes ofData as originally specified in KsPinSubmitFrame.

Mdl [in, optional]

Pointer to a memory descriptor list describing the injected frame as in the call to KsPinSubmitFrameMdl.

Context [in, optional]

Pointer to the minidriver-supplied context buffer attached to the frame when the frame was injected into the circuit.

Status [in]

Contains a copy ofIrp->IoStatus.Status for the IRP to which the requested frame was attached.

Remarks

The minidriver specifies this routine's address in theFrameReturn parameter of a call to KsPinRegisterFrameReturnCallback.

See also

KsPinRegisterFrameReturnCallback

KsPinSubmitFrameMdl