aboutsummaryrefslogtreecommitdiff
path: root/Src/omBrowser/browserWndRecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/omBrowser/browserWndRecord.h')
-rw-r--r--Src/omBrowser/browserWndRecord.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/Src/omBrowser/browserWndRecord.h b/Src/omBrowser/browserWndRecord.h
new file mode 100644
index 00000000..6d5ce699
--- /dev/null
+++ b/Src/omBrowser/browserWndRecord.h
@@ -0,0 +1,33 @@
+#ifndef NULLSOFT_WINAMP_OMBROWSER_WINDOW_RECORD_HEADER
+#define NULLSOFT_WINAMP_OMBROWSER_WINDOW_RECORD_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#include <wtypes.h>
+
+class OmBrowserWndRecord
+{
+protected:
+ OmBrowserWndRecord(HWND hwnd, const GUID *type);
+ ~OmBrowserWndRecord();
+public:
+ static HRESULT CreateInstance(HWND hwnd, const GUID *type, OmBrowserWndRecord **instance);
+
+public:
+ ULONG AddRef();
+ ULONG Release();
+
+ HWND GetHwnd();
+ HRESULT GetType(GUID *windowType);
+ HRESULT IsEqualType(const GUID *windowType);
+
+protected:
+ ULONG ref;
+ HWND hwnd;
+ GUID type;
+};
+
+
+#endif //NULLSOFT_WINAMP_OMBROWSER_WINDOW_RECORD_HEADER \ No newline at end of file