aboutsummaryrefslogtreecommitdiff
path: root/Src/omBrowser/ifc_omstorageext.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/omBrowser/ifc_omstorageext.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/omBrowser/ifc_omstorageext.h')
-rw-r--r--Src/omBrowser/ifc_omstorageext.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Src/omBrowser/ifc_omstorageext.h b/Src/omBrowser/ifc_omstorageext.h
new file mode 100644
index 00000000..119bf850
--- /dev/null
+++ b/Src/omBrowser/ifc_omstorageext.h
@@ -0,0 +1,37 @@
+#ifndef NULLSOFT_WINAMP_OMSTORAGE_EXTENDER_INTERFACE_HEADER
+#define NULLSOFT_WINAMP_OMSTORAGE_EXTENDER_INTERFACE_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+// {8D1915C0-7925-49f1-A851-C230C634B7EE}
+static const GUID IFC_OmStorageExt =
+{ 0x8d1915c0, 0x7925, 0x49f1, { 0xa8, 0x51, 0xc2, 0x30, 0xc6, 0x34, 0xb7, 0xee } };
+
+#include <bfc/dispatch.h>
+class ifc_omstoragehandlerenum;
+class ifc_omstorage;
+
+class __declspec(novtable) ifc_omstorageext : public Dispatchable
+{
+protected:
+ ifc_omstorageext() {}
+ ~ifc_omstorageext() {}
+
+public:
+ HRESULT Enumerate(const GUID *storageId, ifc_omstoragehandlerenum **enumerator);
+
+public:
+ DISPATCH_CODES
+ {
+ API_ENUMERATE = 10,
+ };
+};
+
+inline HRESULT ifc_omstorageext::Enumerate(const GUID *storageId, ifc_omstoragehandlerenum **enumerator)
+{
+ return _call(API_ENUMERATE, (HRESULT)E_NOTIMPL, storageId, enumerator);
+}
+
+#endif //NULLSOFT_WINAMP_OMSTORAGE_EXTENDER_INTERFACE_HEADER \ No newline at end of file