You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
438 B
17 lines
438 B
#include <windows.h>
|
|
#include "systrayp.h"
|
|
#include "trayvol.h"
|
|
|
|
#define MMSYS_UPDATEMIXER 3000 //This message tells the systray that the preferred device has
|
|
//changed.
|
|
|
|
// Helper functions for things we care about
|
|
BOOL SetTrayVolumeEnabled(BOOL bEnable)
|
|
{
|
|
return SysTray_EnableService(STSERVICE_VOLUME,bEnable);
|
|
}
|
|
|
|
BOOL GetTrayVolumeEnabled(void)
|
|
{
|
|
return SysTray_IsServiceEnabled(STSERVICE_VOLUME);
|
|
}
|