#include #include MMRESULT rc; // Return code. HMIXER hMixer; // Mixer handle used in mixer API calls. MIXERCONTROL mxc; // Holds the mixer control data. MIXERLINE mxl; // Holds the mixer line data. MIXERLINECONTROLS mxlc; // Obtains the mixer con
C# 对于系统音量的完全操作包括: int GetVolume(); void SetVolume(int volumeLevel); bool SetMixer(int i, VolumeStructs.Mixer mixerControl, int volumeLevel); bool GetMixer(int i, int type, int ctrlType, out VolumeStructs.Mixer mixerControl, out int currVolume); 可以直接