## MMPM/2 Device Driver Reference

[prev][next][parent][TOC]

### MIX_GETCONTROL (63h) - Pointer to structure

Pointer to structure The data packet parameter is a pointer to the following data structure.

    typedef struct _MIXERCONTROL {
      ULONG       ulLength;
      ULONG       ulLine;
      ULONG       ulControl;
      ULONG       ulSetting;
    } MIXERCONTROL;

    typedef   MIXERCONTROL   FAR   * PMIXERCONTROL ;

The caller is responsible for filling in the ulLine field of the MIXERCONTROL structure.

The device driver should return the current setting of the line in the ulSetting field of the MIXERCONTROL structure. For stereo controls, the high-order word should contain information for the left-channel and the low -order word contains the right channel setting. A value of 0xFFFF represents full intensity and a value of 0x0000 is full cutout.