Skip to content

Latest commit

 

History

History
105 lines (70 loc) · 3.37 KB

nf-ksproxy-ikspin-ksdeliver.md

File metadata and controls

105 lines (70 loc) · 3.37 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ksproxy.IKsPin.KsDeliver
IKsPin::KsDeliver (ksproxy.h)
The KsDeliver method delivers a media sample from an output pin to an input pin, continues an I/O operation by retrieving the next buffer from an allocator, and submits the buffer to the associated device.
stream\ikspin_ksdeliver.htm
stream
04/23/2018
IKsPin::KsDeliver
IKsPin interface [Streaming Media Devices],KsDeliver method, IKsPin.KsDeliver, IKsPin::KsDeliver, KsDeliver, KsDeliver method [Streaming Media Devices], KsDeliver method [Streaming Media Devices],IKsPin interface, ksproxy/IKsPin::KsDeliver, ksproxy_3608c6b5-20e3-43e1-b1aa-a283f8d00f17.xml, stream.ikspin_ksdeliver
ksproxy.h
Ksproxy.h
Desktop
Windows
IKsPin::KsDeliver
ksproxy/IKsPin::KsDeliver
APIRef
kbSyntax
COM
ksproxy.h
IKsPin::KsDeliver

IKsPin::KsDeliver

-description

The KsDeliver method delivers a media sample from an output pin to an input pin, continues an I/O operation by retrieving the next buffer from an allocator, and submits the buffer to the associated device.

-parameters

-param Sample [in]

Pointer to the IMediaSample interface for the associated media sample.

-param Flags [in]

Specifies a bitmask enumerating information about the stream header of the media sample. A bitwise OR combination of the following flags is possible:

KSSTREAM_HEADER_OPTIONSF_SPLICEPOINT

KSSTREAM_HEADER_OPTIONSF_PREROLL

KSSTREAM_HEADER_OPTIONSF_DATADISCONTINUITY

KSSTREAM_HEADER_OPTIONSF_TYPECHANGED

KSSTREAM_HEADER_OPTIONSF_TIMEVALID

KSSTREAM_HEADER_OPTIONSF_TIMEDISCONTINUITY

KSSTREAM_HEADER_OPTIONSF_FLUSHONPAUSE

KSSTREAM_HEADER_OPTIONSF_DURATIONVALID

KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM

KSSTREAM_HEADER_OPTIONSF_LOOPEDDATA

These flags are defined in the OptionsFlags member of the KSSTREAM_HEADER structure description.

The pin connection checks for the end-of-stream flag (KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM) to determine if it must deliver an end-of-stream event after the sample completes.

-returns

Returns NOERROR if successful; otherwise, returns an error code.

-remarks

An interface handler (IKsInterfaceHandler) calls KsDeliver on the output pin of a filter to deliver a media sample to the input pin of another filter. These input and output pins are connected.

For an input pin, KsDeliver is an invalid entry point and returns EFAIL.

For more information about IMediaSample, see the Microsoft Windows SDK documentation.

-see-also

IKsInterfaceHandler

IKsInterfaceHandler::KsCompleteIo