📄 exceedtech.dashboard.ampcontrol.library.h
字号:
// ExceedTech.Dashboard.AmpControl.Library.h : main header file for the ExceedTech.Dashboard.AmpControl.Library DLL
//
#pragma once
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#if !defined(AMPCONTROL_H)
#define AMPCONTROL_H
// Winamp 2 defines
#define W2_PREV 40044
#define W2_PLAY 40045
#define W2_PAUSE 40046
#define W2_STOP 40047
#define W2_NEXT 40048
#define W2_FILEPLAY 40029
#define W2_ISPLAYING 104
#define W2_OUTPUTTIME 105
#define W2_JUMPTOTIME 106
#define W2_SETPLAYLISTPOS 121
#define W2_GETLISTLENGTH 124
#define W2_GETLISTPOS 125
#define W2_GETINFO 126
// Winamp 3 defines
#define W3_PREV 'z'
#define W3_PLAY 'x'
#define W3_PAUSE 'c'
#define W3_STOP 'v'
#define W3_NEXT 'b'
#define W3_FILEPLAY 'l'
// Sonique 1 defines
#define S1_PREV 'z'
#define S1_PLAY 'x'
#define S1_PAUSE 'c'
#define S1_STOP 'v'
#define S1_NEXT 'b'
#define S1_FILEPLAY 'l'
#endif
char currTitle[2048];
extern "C" __declspec(dllexport) void AmpControl_OpenFileDialog(void);
extern "C" __declspec(dllexport) char* AmpControl_GetPlayingTitle(void);
extern "C" __declspec(dllexport) void AmpControl_Next(void);
extern "C" __declspec(dllexport) void AmpControl_Stop(void);
extern "C" __declspec(dllexport) void AmpControl_Play(void);
extern "C" __declspec(dllexport) void AmpControl_Pause(void);
extern "C" __declspec(dllexport) void AmpControl_Previous(void);
extern "C" __declspec(dllexport) bool AmpControl_isRunning(bool);
extern "C" __declspec(dllexport) bool AmpControl_isPaused();
extern "C" __declspec(dllexport) bool AmpControl_isPlaying();
void SendW3Key(HWND,char);
HWND FindPlayer(int wanted);
class CExceedTechDashboardAmpControlLibraryApp : public CWinApp
{
public:
CExceedTechDashboardAmpControlLibraryApp();
// Overrides
public:
virtual BOOL InitInstance();
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -