Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MCI_WAVE_OPEN_PARMS
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
MCI_WAVE_OPEN_PARMS
 
        The MCI_WAVE_OPEN_PARMS structure contains information for
        MCI_OPEN message for waveform audio devices. When assigning
        data to the fields in this data structure, set the
        corresponding MCI flags in the dwFlags parameter of
        mciSendCommand to validate the fields. You can use the
        MCI_OPEN_PARMS data structure in place of MCI_WAVE_OPEN_PARMS
        if you are not using the extended data fields.
 
        typedef struct {
            DWORD dwCallback;
            UINT wDeviceID;
            UINT wReserved0;
            LPCSTR lpstrDeviceType;
            LPCSTR lpstrElementName;
            LPCSTR lpstrAlias;
            DWORD dwBufferSeconds;
        } MCI_WAVE_OPEN_PARMS;
 
Fields
        DWORD dwCallback
            The low-order word specifies a window handle used for the
            MCI_NOTIFY flag.
 
        UINT wDeviceID
            Specifies the device ID returned to user.
 
        UINT wReserved0
            Reserved.
 
        LPCSTR lpstrDeviceType
            Specifies the name or constant ID of the device type
            obtained.
 
        LPCSTR lpstrElementName
            Specifies the device element name (usually a pathname).
 
        LPCSTR lpstrAlias
            Specifies an optional device alias.
 
        DWORD dwBufferSeconds
            Specifies the buffer length in seconds.
 
See also
        MCI_OPEN
 
                                       -♦-