## MMPM/2 Device Driver Reference

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

### VSD_SETMIXCONNECTIONS

Select an item:

    Syntax
    Returns
    Example Code
    Glossary

This subcommand of the VSD_SET command routes the audio output of a connector to a particular output circuitry (that is, pass thru, internal mixer circuitry, and so on). For further information about VSD mixer support and functions, see Audio Sample for Vendor-Specific Drivers and Mixer IOCtl Functions Introduction

This command is sent using VSDEntry as follows:

        VSDEntry(hvsd, ulFunc, ulFlags, pRequest)

hvsd (HVSD) Handle to a VSD.

ulFunc (ULONG) Set to VSD_SET.

ulFlags (ULONG) Set to VSD_SETMIXCONNECTIONS.

pRequest (PLINECONNECTIONS) A pointer to the LINECONNECTIONS structure.

The caller must fill in the ulConnections and the ulLine fields of the LINECONNECTIONS structure.

rc (ULONG) Error code indicating success or the type of failure:

VSDERR_SUCCESS The command was successful.

VSDERR_INVALID_SOURCE Invalid source.

VSDERR_INVALID_SINK Invalid sink.

VSDERR_INVALID_CONNECTION Invalid connection.