summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BASS_interface/src')
-rw-r--r--plugins/BASS_interface/src/Bass_interface.h2
-rw-r--r--plugins/BASS_interface/src/Main.cpp9
-rw-r--r--plugins/BASS_interface/src/Version.h1
3 files changed, 5 insertions, 7 deletions
diff --git a/plugins/BASS_interface/src/Bass_interface.h b/plugins/BASS_interface/src/Bass_interface.h
index 1058037bea..61c3f367fd 100644
--- a/plugins/BASS_interface/src/Bass_interface.h
+++ b/plugins/BASS_interface/src/Bass_interface.h
@@ -34,8 +34,6 @@ Copyright (C) 2010, 2011 tico-tico
#define LOADBASSFUNCTION(f) (*((void**)&f)=(void*)GetProcAddress(hBass,#f))
-#define MIID_BASSINT {0x2f07ea05, 0x05b5, 0x4ff0, { 0x87, 0x5d, 0xc5, 0x90, 0xda, 0x2d, 0xda, 0xc1 }} //2f07ea05-05b5-4ff0-875d-c590da2ddac1
-
#define ModuleName "Bass Interface"
#define OPT_VOLUME "Volume"
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index 828babac15..e34d9da35f 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -7,7 +7,7 @@ Copyright (C) 2010, 2011 tico-tico
HINSTANCE hInst;
int hLangpack;
-PLUGININFOEX pluginInfo={
+PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
@@ -17,16 +17,17 @@ PLUGININFOEX pluginInfo={
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- MIID_BASSINT
+ //2f07ea05-05b5-4ff0-875d-c590da2ddac1
+ {0x2f07ea05, 0x05b5, 0x4ff0, {0x87, 0x5d, 0xc5, 0x90, 0xda, 0x2d, 0xda, 0xc1}}
};
static HANDLE hService;
static HANDLE hTBButton;
static HINSTANCE hBass = NULL;
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
- hInst=hinstDLL;
+ hInst = hinstDLL;
return TRUE;
}
diff --git a/plugins/BASS_interface/src/Version.h b/plugins/BASS_interface/src/Version.h
index 0735651c7d..817ecd1662 100644
--- a/plugins/BASS_interface/src/Version.h
+++ b/plugins/BASS_interface/src/Version.h
@@ -10,7 +10,6 @@
#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
#define __PLUGIN_NAME "BASS_interface"
#define __INTERNAL_NAME "BASS_interface"
#define __FILENAME "BASS_interface.dll"