typedef struct { DWORD dwSize; FOURCC fccType; FOURCC fccComp; DWORD dwVersion; DWORD dwFlags; DWORD dwError; LPVOID pV1Reserved; LPVOID pV2Reserved; DWORD dnDevNode; } VIDEO_OPEN_PARMS;
The VIDEO_OPEN_PARMS structure defines the type of channel to open on a video-capture device. User-mode video capture drivers receive this structure along with a DRV_OPEN message. The structure is defined in msviddrv.h.
Flag |
Definition |
VIDEO_EXTERNALIN |
Data path from an external video source, such as a TV, VCR, or camera, into a frame buffer. |
VIDEO_IN |
Data path from the frame buffer to system memory. |
VIDEO_OUT |
Data path from system memory to the frame buffer. |
VIDEO_EXTERNALOUT |
Data path from the frame buffer to an output display, such as an overlay window on a user’s screen. |
The VIDEO_OPEN_PARMS structure is identical to the ICOPEN structure used by installable compressors, allowing a single driver to handle both video capture and compression messages.
For more information about the VIDEO_OPEN_PARMS structure, see DriverProc in User-Mode Video Capture Drivers and Opening Video Channels.