次の方法で共有


CRendererInputPin Class (Compact 2013)

3/26/2014

CBaseInputPin Class

**     CRendererInputPin Class**

This input pin class channels calls to the rendering filter.

Protected Data Members

Member

Description

m_pRenderer

Pointer to the CBaseRenderer object.

Member Functions

Member function

Description

Allocator

Retrieves a pointer to the default memory allocator.

CRendererInputPin

Constructs a CRendererInputPin object.

Overrideable Member Functions

Member function

Description

Active

Switches the pin to the active (paused or running) mode.

BeginFlush

Informs the pin to begin a flush operation.

BreakConnect

Adds customized code upon breaking a connection.

CheckMediaType

Determines if the pin can support a specific media type.

CompleteConnect

Completes the connection.

EndFlush

Informs the pin to end a flush operation.

EndOfStream

Informs the pin that no additional data is expected until a new run command is issued.

Inactive

Switches the pin to an inactive state and releases the memory of the allocator.

Receive

Returns the next block of data from the stream.

SetMediaType

Sets the media type of the pin.

Implemented IPin Methods

Method

Description

QueryId

Retrieves an identifier for the pin.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

DirectShow Classes