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 = 1,
WIAVIDEO_CREATING_VIDEO = 2,
WIAVIDEO_VIDEO_CREATED = 3,
WIAVIDEO_VIDEO_PLAYING = 4,
WIAVIDEO_VIDEO_PAUSED = 5,
WIAVIDEO_DESTROYING_VIDEO = 6
} WIAVIDEO_STATE;
Constants
WIAVIDEO_NO_VIDEO Value: 1 No video stream exists. Call IWiaVideo::CreateVideoByWiaDevID, IWiaVideo::CreateVideoByDevNum, or IWiaVideo::CreateVideoByName to create a video. |
WIAVIDEO_CREATING_VIDEO Value: 2 One of the IWiaVideo CreateVideo methods was called and WIA is in the process of creating the video stream. |
WIAVIDEO_VIDEO_CREATED Value: 3 A video stream has been successfully created, but playback has not yet started. |
WIAVIDEO_VIDEO_PLAYING Value: 4 A video stream has been successfully created, and the video is playing. The application can now call the IWiaVideo::TakePicture method. |
WIAVIDEO_VIDEO_PAUSED Value: 5 A video stream has been successfully created, and the video is paused. The application can now call the IWiaVideo::TakePicture method. |
WIAVIDEO_DESTROYING_VIDEO Value: 6 The application called IWiaVideo::DestroyVideo method, and WIA is in the process of destroying the video stream. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wiavideo.h |