See also MCI_PUT
Obtains the clipping rectangle for the video device. The top and left members of the returned rectangle contain the origin of the clipping rectangle, and the right and bottom members contain the width and height of the clipping rectangle. The parameters and flags for this message vary according to the selected device.
DWORD lParam1
Applies to all devices supporting MCI_WHERE:
MCI_NOTIFY | Specifies that MCI should post the MM_MCINOTIFY message when this command completes. The window to receive this message is specified in the dwCallback member of the structure identified by lpQuery. |
MCI_WAIT | Specifies that the operation should complete before MCI returns control to the application. |
DWORD lpQuery
Specifies a far pointer to a device-specific structure. For a description of this parameter, see the lpQuery description included with the device extensions.
Animation Extensions
The following additional flags for lParam1 apply to animation devices supporting MCI_WHERE:
MCI_ANIM_WHERE_DESTINATION | Obtains the destination display rectangle. The rectangle coordinates are placed in the rc member of the structure identified by lpQuery. |
MCI_ANIM_WHERE_SOURCE | Obtains the animation source rectangle. The rectangle coordinates are placed in the rc member of the structure identified by lpQuery. |
Note that lParam2 specifies a far pointer to a MCI_ANIM_RECT_PARMS structure.
Video Overlay Extensions
The following additional flags for lParam1 apply to video overlay devices supporting MCI_WHERE:
MCI_OVLY_WHERE_DESTINATION | Obtains the destination display rectangle. The rectangle coordinates are placed in the rc member of the structure identified by lParam2. |
MCI_OVLY_WHERE_FRAME | Obtains the overlay frame rectangle. The rectangle coordinates are placed in the rc member of the structure identified by lParam2. |
MCI_OVLY_WHERE_SOURCE | Obtains the source rectangle. The rectangle coordinates are placed in the rc member of the structure identified by lParam2. |
MCI_OVLY_WHERE_VIDEO | Obtains the video rectangle. The rectangle coordinates are placed in the rc member of the structure identified by lParam2. |
Note that lParam2 specifies a far pointer to a MCI_OVLY_RECT_PARMS structure.