IWiaVideo::DestroyVideo method (wiavideo.h)

The IWiaVideo::DestroyVideo method shuts down the streaming video. To restart video playback, the application must call one of the IWiaVideo CreateVideo methods again.

Syntax

HRESULT DestroyVideo();

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Call this method only after a successful call to IWiaVideo::CreateVideoByWiaDevID, IWiaVideo::CreateVideoByDevNum, or IWiaVideo::CreateVideoByName.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wiavideo.h
DLL Wiavideo.dll