How can I send message volume up? I tried the code bellow but it doesnt work. Please help me. Thank you very much!
void main()
{
HWND hwnd = GetConsoleWindow();
SendMessage(hwnd, WM_APPCOMMAND, 0, APPCOMMAND_VOLUME_UP);
}
How can I send message volume up? I tried the code bellow but it doesnt work. Please help me. Thank you very much!
void main()
{
HWND hwnd = GetConsoleWindow();
SendMessage(hwnd, WM_APPCOMMAND, 0, APPCOMMAND_VOLUME_UP);
}
0 commentaires:
Enregistrer un commentaire