Notifies a video capture driver to set and retrieve the source rectangle used by a video device channel.
lpSrcRect
Address of a RECT structure.
dwFlags
Flags that indicate the type of transfer requested. The following flags are defined:
VIDEO_CONFIGURE_SET | Sends a source rectangle to the device driver. |
VIDEO_CONFIGURE_GET | Gets the current source rectangle from the device driver. |
VIDEO_CONFIGURE_MIN | Gets the minimum source rectangle from the device driver. |
VIDEO_CONFIGURE_MAX | Gets the maximum source rectangle from the device driver. |
VIDEO_CONFIGURE_CURRENT | Gets or sets the current source rectangle. |
VIDEO_CONFIGURE_QUERY | Interrogates the driver to determine if it supports the message. |
Either the VIDEO_CONFIGURE_SET or the VIDEO_CONFIGURE_GET flag must be set, specifying the direction of the transfer.
The use of the source rectangle for a channel depends on the channel type. For the VIDEO_EXTERNALOUT channel, the source rectangle specifies the portion of the frame buffer displayed in the overlay window, in pixel coordinates. For the VIDEO_IN, VIDEO_EXTERNALIN, and VIDEO_OUT channels, the source rectangle is currently undefined.