KsPinSubmitFrameMdl - NtDoc

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

KSDDKAPI NTSTATUS KsPinSubmitFrameMdl(
  [in]           PKSPIN           Pin,
  [in, optional] PMDL             Mdl,
  [in, optional] PKSSTREAM_HEADER StreamHeader,
  [in, optional] PVOID            Context
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-kspinsubmitframemdl)

KsPinSubmitFrameMdl function

Description

If a pin has been placed into injection mode by a call to KsPinRegisterFrameReturnCallback, the KsPinSubmitFrameMdl function submits a frame directly into the transport circuit.

Parameters

Pin [in]

A pointer to a KSPIN structure representing the pin on which to submit a frame.

Mdl [in, optional]

A pointer to a memory descriptor list describing the frame buffer. Optional.

StreamHeader [in, optional]

A pointer to a KSSTREAM_HEADER structure. The stream header is copied if this parameter is supplied. Optional.

Context [in, optional]

A pointer to a caller-allocated buffer that is passed to the frame return callback registered through KsPinRegisterFrameReturnCallback. This parameter is optional and is solely for the caller's use.

Return value

Returns STATUS_SUCCESS if frame submission is successful. Otherwise returns an appropriate error code.

Remarks

The difference between this function and KsPinSubmitFrame is that this function will submit a frame using an MDL structure rather than a data and size argument.

See also

KsPinRegisterFrameReturnCallback

KsPinSubmitFrame