共用方式為


IMSVidCtl::Refresh

 
Microsoft DirectShow 9.0

IMSVidCtl::Refresh

This topic applies to Windows XP or later.

The Refresh method immediately updates the Video Control's appearance.

Syntax

  HRESULT Refresh();

Parameters

This method takes no parameters.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is a stock ActiveX® control method. It forces the Video Control window to repaint itself. Before repainting, the Video Control ensures that the video rectangle is up to date and that all Video Mixing Renderer settings are correct.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also