diff options
Diffstat (limited to 'Src/omBrowser/ifc_omservicehostext.h')
-rw-r--r-- | Src/omBrowser/ifc_omservicehostext.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Src/omBrowser/ifc_omservicehostext.h b/Src/omBrowser/ifc_omservicehostext.h new file mode 100644 index 00000000..77181039 --- /dev/null +++ b/Src/omBrowser/ifc_omservicehostext.h @@ -0,0 +1,44 @@ +#ifndef NULLSOFT_WINAMP_OMSERVICE_HOST_EXTENSION_INTERFACE_HEADER +#define NULLSOFT_WINAMP_OMSERVICE_HOST_EXTENSION_INTERFACE_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include <bfc/dispatch.h> + +// {0DBA9261-79B5-4803-BB29-6246DE6C92C9} +static const GUID IFC_OmServiceHostExt = +{ 0xdba9261, 0x79b5, 0x4803, { 0xbb, 0x29, 0x62, 0x46, 0xde, 0x6c, 0x92, 0xc9 } }; + + +// supports AddRef(), Release(), QueryInterface() +class __declspec(novtable) ifc_omservicehostext : public Dispatchable +{ +protected: + ifc_omservicehostext() {} + ~ifc_omservicehostext() {} + +public: + HRESULT GetHost(ifc_omservicehost **ppHost); + HRESULT SetHost(ifc_omservicehost *host); + +public: + DISPATCH_CODES + { + API_GETHOST = 10, + API_SETHOST = 20, + }; +}; + +inline HRESULT ifc_omservicehostext::GetHost(ifc_omservicehost **ppHost) +{ + return _call(API_GETHOST, (HRESULT)E_NOTIMPL, ppHost); +} + +inline HRESULT ifc_omservicehostext::SetHost(ifc_omservicehost *host) +{ + return _call(API_SETHOST, (HRESULT)E_NOTIMPL, host); +} + +#endif //NULLSOFT_WINAMP_OMSERVICE_HOST_EXTENSION_INTERFACE_HEADER
\ No newline at end of file |