MCI_SYSINFO_PARMS structure

The MCI_SYSINFO_PARMS structure contains information for the MCI_SYSINFO command.

Syntax

typedef struct {
  DWORD_PTR dwCallback;
  LPTSTR    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

Pointer to a user-supplied buffer for the return string. It is also used to return a DWORD 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 MCI 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.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mciapi.h

See also

MCI

MCI Structures

MCI_SYSINFO

mciSendCommand