My program accesses the windows mixer and mutes the master volume for example. This works perfectly under Win98, but under Win2K I always get an error when calling mixerSetControlDetails that says wrong parameters. Iīm sure that all parameters are correct. Has anybody experienced this problem?
Posted on 2001-03-05 17:25:00 by TheJB
i had same probleme, i think your MIXERCONTROLDETAILS structure need to be dword aligned (or 16 byte).. like ; align 16 mixdetails MIXERCONTROLDETAILS mutestate MIXERCONTROLDETAILS_BOOLEAN this way my prog works..
Posted on 2001-03-06 20:03:00 by k
Thx for your answer. In the meantime I have found the problem. I could not use the mixercontroldetails structure in the memory of my own process. I had to allocate global memory and store the structure there. Obviously the mixersetcontroldetails routine canīt access my memory space although all other mixer routines can. I will try if the align method had solved it as well.
Posted on 2001-03-07 06:43:00 by TheJB