機能でマスターボリュームを変更したい
MMRESULT waveOutSetVolume(
HWAVEOUT hwo,
DWORD dwVolume
);
hwo
Handle to an open waveform-audio output device. This parameter can also be a device identifier.
マスター ボリュームのハンドラーを作成するにはどうすればよいですか?
dwVolume
Specifies a new volume setting. The low-order word contains the left-channel volume setting, and the high-order word contains the right-channel setting. A value of 0xFFFF represents full volume, and a value of 0x0000 is silence.
If a device does not support both left and right volume control, the low-order word of dwVolume specifies the volume level, and the high-order word is ignored.
ボリューム (たとえば 75) を関数に渡すにはどうすればよいですか?
このように試してみてください:プログラムでマスターボリュームを変更するには? 私にはうまくいきません!