Digital Video Extensions

DWORD lParam1 The following additional flags apply to digital video devices:

MCI_DGV_INFO_ITEM

Specifies that a constant indicating the information desired is included in the dwItem field of the data structure identified by lParam2. The following constants are defined for digital-video devices:


MCI_DGV_INFO_AUDIO_ALG

Returns the name for the current audio compression algorithm.

MCI_DGV_INFO_AUDIO_QUALITY

Returns the name for the current audio quality descriptor.

MCI_DGV_INFO_STILL_ALG

Returns the name for the current still image compression algorithm.

MCI_DGV_INFO_STILL_QUALITY

Returns the name for the current still image quality descriptor.

MCI_DGV_INFO_USAGE

Returns a string describing usage restrictions that might be imposed by the owner of the visual or audible data in the workspace.

MCI_DGV_INFO_VIDEO_ALG

Returns the name for the current video compression algorithm.

MCI_DGV_INFO_VIDEO_QUALITY

Returns the name for the current video quality descriptor.

MCI_INFO_VERSION

Returns the release level of the device driver and hardware. Device driver developers must document the syntax of the returned string.


MCI_DGV_INFO_TEXT

Returns the text-string in the title bar of the window associated with the device instance.

MCI_INFO_FILE

Obtains the path and filename of the last file specified with the MCI_OPEN, or MCI_LOAD command. If a file has not been specified, the device returns a null-string. This flag is only supported by devices that return TRUE to the MCI_GETDEVCAPS_USES_FILES flag of the MCI_GETDEVCAPS command.

LPMCI_DGV_INFO_PARMS lParam2

Specifies a far pointer to the MCI_DGV_INFO_PARMS data structure.

Return Value

Returns zero if successful. Otherwise, it returns an MCI error code.

Comments

Information is returned in the lpstrReturn field of the data structure identified by lParam2. The dwReturnSize field specifies the buffer length for the return data.