MCI_WINDOW

This MCI command message specifies the window and the window characteristics for graphic devices. Graphic devices should create a default window when a device is opened but should not display it until they receive the play or monitor input command. The window command is used to supply an application-created window to the device and to change the display characteristics of an application-supplied or default display window.

Parameters DWORD lParam1

The following flags apply to all devices supporting MCI_WINDOW:

MCI_NOTIFY

Specifies that MCI should post the MM_MCINOTIFY message when this command completes. The window that receives this message is specified in the dwCallback field of the data structure identified by lParam2.

MCI_TEST

Queries the device to determine if it can execute the command. The device returns an error if it is incapable of executing the command. It returns no error if it can handle the command. MCI returns control to the application without executing the command.

MCI_WAIT

Specifies that the operation should finish before MCI returns control to the application.

DWORD lParam2

Specifies a far pointer to a device specific data structure. For a description of this parameter, see the lParam2 description included with the device extensions.