MCI_SYSINFO_PARMS

The MCI_SYSINFO_PARMS structure contains information for the MCI_SYSINFO command.

typedef struct {
    DWORD dwCallback; 
    LPSTR lpstrReturn; 
    DWORD dwRetSize; 
    DWORD dwNumber; 
    UINT  wDeviceType; 
} MCI_SYSINFO_PARMS;
 

Members

dwCallback
The low-order word specifies a window handle used for the MCI_NOTIFY flag.
lpstrReturn
Address of a user-supplied buffer for the return string. It is also used to return a doubleword value when the MCI_SYSINFO_QUANTITY flag is used.
dwRetSize
Size, in bytes, of return buffer.
dwNumber
Number indicating the device position in the MCI device table or in the list of open devices if the MCI_SYSINFO_OPEN flag is set.
wDeviceType
Type of device. This member can be one of the values listed in Constants: Device Types.

Remarks

When assigning data to the members of this structure, set the corresponding flags in the fdwCommand parameter of the mciSendCommand function to validate the members.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.
  Unicode: Defined as Unicode and ANSI structures.

See Also

MCI Overview, MCI Structures, MCI_SYSINFO, mciSendCommand