Function 27 - set Windows Sound System (WSS) volume.
Parameters:
- eax = 27 - function number
- ebx = what to set:
- 1 - set common volume
- 2 - set Line In volume
- cl = volume level (0x0=highest, 0x1F=lowest,
if bit 0x80 is set=disable)
Returned value:
- eax = 0 - success
- eax = 1 - WSS base is not defined
- eax = 2 - incorrect subfunction
Remarks:
- Previously WSS base port must be defined by call to
subfunction 6 of function 21.
- Set of common volume is ignored (function simply returns eax=0).
- Old documentation and kernel sources erraticly name function 2
as CD-audio volume.