## MMPM/2 Device Driver Reference

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

### VSD_QUERYAUDIOATTRIBUTES - Syntax

This subcommand of the VSD_QUERY command queries the current audio settings and capabilities. A valid length must be placed in the ulLength field of the VSD_AUDIOATTRIBUTES_PARMS structure and the audio setting (such as treble, bass, and so on) must be placed in the ulFlags field of the VSD_ AUDIOATTRIBUTES_PARMS structure.

This command is sent using VSDEntry as follows:

        VSDEntry(hvsd, ulFunc, ulFlags, pRequest)

hvsd (HVSD) Handle to a VSD.

ulFunc (ULONG) Set to VSD_QUERY.

ulFlags (ULONG) Set to VSD_QUERYAUDIOATTRIBUTES.

pRequest (PVSD_AUDIOATTRIBUTES_PARMS) Pointer to the VSD_AUDIOATTRIBUTES_ PARMS structure.

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

VSDERR_SUCCESS The command was successful.

VSDERR_MISSING_PARAMETER One or more parameters are missing.