MXDM_GETLINEINFO

Sent to an audio mixer device driver to get information on the specified line. This message is normally sent to an audio mixer driver in response to a mixerGetLineInfo call.

MMSYSERR_NOTENABLED

The driver failed to load or initialize.

MIXERR_INVALLINE

The audio mixer device line reference is invalid.


dwParam1

Specifies a pointer to a MIXERLINE structure that is to receive the line information being requested.

dwParam2

Specifies flags for getting the line information. This argument is identical to the fdwInfo argument passed to the mixerGetLineInfo function. Refer to the description for mixerGetLineInfo for specific flag information.

An audio mixer driver must support this message. The Mixer Manager will validate the following parameters for the MXDM_GETLINEINFO message before calling the driver. Your driver does not need to check for the following conditions:

1 dwParam1 will contain a valid pointer to a MIXERLINE structure. This structure will be at least large enough to hold the base MIXERLINE structure members. This buffer has also been validated to insure it is big enough to hold at least cbStruct bytes of information.

2 dwParam2 will be a valid combination of flags.

A mixer device driver must validate the dwDestination, dwSource and dwLineID members of the MIXERLINE structure when they apply to the query request. The driver must also verify that the dwComponentType and Target structure members are valid for the MIXER_GETLINEINFOF_COMPONENTTYPE and MIXER_GETLINEINFOF_TARGETTYPE queries.

An application can generate the following queries for retrieving mixer line information. A driver must use the bitwise AND operator with dwParam2 and the MIXER_GETLINEINFOF_QUERYMASK constant to obtain the query type.

All mixer drivers must support these queries. If a query other than those previously mentioned is sent, the mixer driver must return MMSYSERR_NOTSUPPORTED.