views:

11

answers:

0

functions defintion winmm.dll :

BOOL PlaySound( LPCTSTR pszSound,
HMODULE hmod,
DWORD fdwSound
);

MMRESULT auxSetVolume( UINT uDeviceID, DWORD dwVolume );


the auxSetVolume use a uDeviceID Flag to Control the Volume, but there is no DeviceID need with the PlaySound function. does it mean auxSetVolume will control the globe SoundCardDevice? and so we can't use winmm.dll to implanment a multiMediaSystem?

anyone can tell me,thanks