次の方法で共有


CBaseControlVideo::OnVideoSizeChange (Compact 2013)

3/26/2014

Passes an EC_VIDEO_SIZE_CHANGED message to the filter graph manager.

Syntax

virtual HRESULT OnVideoSizeChange( );

Parameters

None.

Return Value

Returns an HRESULT value.

Remarks

A video renderer should call this member function each time the video size is changed; this will typically be called once after initial connection.

If the renderer can support dynamic format changes (from 320 x 240 to 160 x 120), it should also call it after each change.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlVideo Class