## MMPM/2 Device Driver Reference

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

### VSD_QUERYVOLUME - Syntax

This subcommand of the VSD_QUERY command queries the volume level. The volume is returned as a percentage between 0% and 100%

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_QUERYVOLUME.

pRequest (PVSD_VOLUME_PARMS) Pointer to the VSD_VOLUME_PARMS structure.

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

VSDERR_SUCCESS The command was successful. field.