Share via


MCI_SYSINFO_PARMS

The MCI_SYSINFO_PARMS structure contains information for the MCI_SYSINFO command.

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

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.
**  Unicode:** Declared as Unicode and ANSI structures.

See Also

MCI, MCI Structures, MCI_SYSINFO, mciSendCommand