Control sound/volume in W95 (d2)?

anyone have any thoughts on how to control the volume controls in
windows 95? ... I want to be able to do the following in code...

(a) Check if the volume control state .. Muted true/false, volume
level/balance for master volume, Wave Volume/balance, MIDI
Volume/Balance, etc.

(b) To change the state of the various volume controls/balances, etc.

Appreciate any answers by email!


(To reply remove the NO from my address and include the
string "ghju*76^" either in the body or the subject line
of the email !)