index

The index command controls a VCR's on-screen display. VCR devices recognize this command.

wsprintf(lpstrCommand, "index %s %s %s", lpszDeviceID, lpszIndex, 
    lpszFlags); 
 

Parameters

lpszDeviceID
Identifier of an MCI device. This identifier or alias is assigned when the device is opened.
lpszIndex
One of the following flags:
off Turns off the on-screen display.
on Turns on the on-screen display. The item to be displayed is specified by the "index" flag of the set command.

lpszFlags
Can be "wait", "notify", or "test". For more information about these flags, see The Wait, Notify, and Test Flags.

Return Values

Returns zero if successful or an error otherwise.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.

See Also

MCI Overview, MCI Command Strings, set