mirror of https://github.com/tongzx/nt5src
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
330 B
17 lines
330 B
#ifndef __MEDIAKEY_H__
|
|
#define __MEDIAKEY_H__
|
|
|
|
enum MediaKeys {
|
|
MediaKey_NextTrack,
|
|
MediaKey_PrevTrack,
|
|
MediaKey_Stop,
|
|
MediaKey_Play,
|
|
MediaKey_Other
|
|
};
|
|
|
|
BOOL IsAppcommandMessage(UINT message);
|
|
BOOL IsAppcommandCode(int nCode);
|
|
enum MediaKeys MediaKey(WPARAM wParam);
|
|
BOOL IsMediaControlKey (WPARAM wParam);
|
|
|
|
#endif
|