IDirectDrawVideoPort::StopVideo

The IDirectDrawVideoPort::StopVideo method stops the flow of video port data into the frame buffer.

HRESULT StopVideo();

Parameters

None.

Return Values

If the method succeeds, the return value is DD_OK.

If the method fails, the return value is DDERR_INVALIDOBJECT.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in dvp.h.
  Import Library: Use ddraw.lib.

See Also

IDirectDrawVideoPort::SetTargetSurface, IIDirectDrawVideoPort::StartVideo, IDirectDrawVideoPort::UpdateVideo