WIAVIDEO_STATE enumeration (wiavideo.h)

The WIAVIDEO_STATE enumeration is used to specify the current state of a video stream.

Note  Windows Image Acquisition (WIA) does not support video devices in Windows Server 2003, Windows Vista, and later. For those versions of the Windows, use DirectShow to acquire images from video.
 

Syntax

typedef enum __MIDL___MIDL_itf_wiavideo_xp_0000_0000_0001 {
  WIAVIDEO_NO_VIDEO,
  WIAVIDEO_CREATING_VIDEO,
  WIAVIDEO_VIDEO_CREATED,
  WIAVIDEO_VIDEO_PLAYING,
  WIAVIDEO_VIDEO_PAUSED,
  WIAVIDEO_DESTROYING_VIDEO
} WIAVIDEO_STATE;

Constants

 
WIAVIDEO_NO_VIDEO
No video stream exists. Call IWiaVideo::CreateVideoByWiaDevID, IWiaVideo::CreateVideoByDevNum, or IWiaVideo::CreateVideoByName to create a video.
WIAVIDEO_CREATING_VIDEO
One of the IWiaVideo CreateVideo methods was called and WIA is in the process of creating the video stream.
WIAVIDEO_VIDEO_CREATED
A video stream has been successfully created, but playback has not yet started.
WIAVIDEO_VIDEO_PLAYING
A video stream has been successfully created, and the video is playing. The application can now call the IWiaVideo::TakePicture method.
WIAVIDEO_VIDEO_PAUSED
A video stream has been successfully created, and the video is paused. The application can now call the IWiaVideo::TakePicture method.
WIAVIDEO_DESTROYING_VIDEO
The application called IWiaVideo::DestroyVideo method, and WIA is in the process of destroying the video stream.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wiavideo.h

See also

IWiaVideo::GetCurrentState