次の方法で共有


CPosPassThru::ForceRefresh (Compact 2013)

3/26/2014

Releases any cached interfaces on the upstream pin.

Syntax

HRESULT ForceRefresh( );

Parameters

None.

Return Value

Returns S_OK.

Remarks

For efficiency, the CPosPassThru class can cache the IMediaPosition interface of the connected upstream output pin.

This method releases any cached interface pointers and forces them to be obtained again through QueryInterface if needed.

Presently, this class does not cache the upstream IMediaPosition so this member function is not necessary.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CPosPassThru Class