From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/SDK/plLoadEx/w5s.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Src/Plugins/SDK/plLoadEx/w5s.cpp (limited to 'Src/Plugins/SDK/plLoadEx/w5s.cpp') diff --git a/Src/Plugins/SDK/plLoadEx/w5s.cpp b/Src/Plugins/SDK/plLoadEx/w5s.cpp new file mode 100644 index 00000000..4d94aa5a --- /dev/null +++ b/Src/Plugins/SDK/plLoadEx/w5s.cpp @@ -0,0 +1,9 @@ +#include "ExComponent.h" // the component we're registering is defined here + +ExComponent exComponent; // our component + +// Winamp GetProcAddress()'s this after loading your w5s file +extern "C" __declspec(dllexport) ifc_wa5component *GetWinamp5SystemComponent() +{ + return &exComponent; +} -- cgit