-
Notifications
You must be signed in to change notification settings - Fork 4
/
AudioSwitch.h
38 lines (25 loc) · 1.01 KB
/
AudioSwitch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef _AUDIOSWITCH_H_
#define _AUDIOSWITCH_H_
/* ***************************************************************************
* Macros
* **************************************************************************/
/* Exclude redundant APIs such as Cryptography, DDE, RPC, Shell, and Windows Sockets. */
#define WIN32_LEAN_AND_MEAN
/* Window class name for the window. */
#define WINDOW_CLASS_NAME "AudioSwitchWindow"
/* ***************************************************************************
* Include Files
* **************************************************************************/
#include <windows.h>
#include <wchar.h>
/* For attached console. */
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <locale.h>
/* ***************************************************************************
* Functions
* **************************************************************************/
LRESULT CALLBACK KeyboardProc( int, WPARAM, LPARAM );
LRESULT CALLBACK WndProc( HWND, UINT, WPARAM, LPARAM );
#endif