Change volume for both 9x & NT

Posted on 2002-06-06
Last Modified: 2010-04-04
How can I change the volume for both Win 9x & NT. I want to increase and decrease the volume. Is it possible to change the windows volume and / or the wave volume? It must also change the sliders in the Volume Control window. Thanx in advance.
Question by:skynergy
  • 3
  • 2
LVL 17

Expert Comment

ID: 7059306
you can use

dwVolume set like:
Left + Right = $FFFFFFFF
Left  = $0000FFFF
Right = $FFFF0000
no sound = $00000000

medium sound example:


WaveOutGetVolume gets teh current volume.

Expert Comment

ID: 7060370
listening :)

Author Comment

ID: 7061869
Inthe, thanx but WaveOutSetVolume() only works in Wnidows 98 and not NT. Any other ideas?
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.


Author Comment

ID: 7061870
Inthe, thanx but WaveOutSetVolume() only works in Windows 98 and not NT. Any other ideas?
LVL 17

Accepted Solution

inthe earned 50 total points
ID: 7066254
>>Any other ideas?
er i have no other ideas ,except getting a component from torrys and checking the source of how they did it though im sure they will use waveoutsetvolume() for it..

>>WaveOutSetVolume() only works in Windows 98 and not NT.

not according to ms:

Regards Barry

Author Comment

ID: 7113457
Thanx Barry.

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now