aboutsummaryrefslogtreecommitdiff
path: root/Src/omBrowser/ifc_omconfigcallback.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/omBrowser/ifc_omconfigcallback.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/omBrowser/ifc_omconfigcallback.h')
-rw-r--r--Src/omBrowser/ifc_omconfigcallback.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/Src/omBrowser/ifc_omconfigcallback.h b/Src/omBrowser/ifc_omconfigcallback.h
new file mode 100644
index 00000000..35752429
--- /dev/null
+++ b/Src/omBrowser/ifc_omconfigcallback.h
@@ -0,0 +1,36 @@
+#ifndef NULLSOFT_WINAMP_OMBROWSER_CONFIG_CALLBACK_INTERFACE_HEADER
+#define NULLSOFT_WINAMP_OMBROWSER_CONFIG_CALLBACK_INTERFACE_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+// {FF6CA21B-FF24-4e51-B594-60BD9D9E7C3D}
+static const GUID IFC_OmConfigCallback =
+{ 0xff6ca21b, 0xff24, 0x4e51, { 0xb5, 0x94, 0x60, 0xbd, 0x9d, 0x9e, 0x7c, 0x3d } };
+
+#include <bfc/dispatch.h>
+
+class __declspec(novtable) ifc_omconfigcallback : public Dispatchable
+{
+protected:
+ ifc_omconfigcallback() {}
+ ~ifc_omconfigcallback() {}
+
+public:
+ HRESULT ValueChanged(const GUID *configUid, UINT valueId, ULONG_PTR value);
+
+
+public:
+ DISPATCH_CODES
+ {
+ API_VALUECHANGED = 10,
+ };
+};
+
+inline HRESULT ifc_omconfigcallback::ValueChanged(const GUID *configUid, UINT valueId, ULONG_PTR value)
+{
+ return _call(API_VALUECHANGED, (HRESULT)E_NOTIMPL, configUid, valueId, value);
+}
+
+#endif // NULLSOFT_WINAMP_OMBROWSER_CONFIG_CALLBACK_INTERFACE_HEADER \ No newline at end of file