Microsoft DirectX 8.1 (C++)

IMSVidCtl::Refresh

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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.

See Also