1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
#ifndef NULLSOFT_WINAMP_OMBROWSER_BROWSER_CONFIG_INTERFACE_HEADER
#define NULLSOFT_WINAMP_OMBROWSER_BROWSER_CONFIG_INTERFACE_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
// {41660B13-0547-4b8f-934B-A688306F0D4A}
static const GUID IFC_OmBrowserConfig =
{ 0x41660b13, 0x547, 0x4b8f, { 0x93, 0x4b, 0xa6, 0x88, 0x30, 0x6f, 0xd, 0x4a } };
#define CFGID_BROWSER_CLIENTID 0 //param = (LPCWSTR)pszClientId
#include <bfc/dispatch.h>
class __declspec(novtable) ifc_ombrowserconfig : public Dispatchable
{
protected:
ifc_ombrowserconfig() {}
~ifc_ombrowserconfig() {}
public:
HRESULT GetClientId(LPWSTR pszBuffer, INT cchBufferMax);
HRESULT SetClientId(LPWSTR pszClientId);
UINT GetX();
HRESULT SetX(UINT x);
UINT GetY();
HRESULT SetY(UINT y);
public:
DISPATCH_CODES
{
API_GETCLIENTID = 10,
API_SETCLIENTID = 20,
API_GETX = 30,
API_SETX = 40,
API_GETY = 50,
API_SETY = 60,
};
};
inline HRESULT ifc_ombrowserconfig::GetClientId(LPWSTR pszBuffer, INT cchBufferMax)
{
return _call(API_GETCLIENTID, (HRESULT)E_NOTIMPL, pszBuffer, cchBufferMax);
}
inline HRESULT ifc_ombrowserconfig::SetClientId(LPWSTR pszClientId)
{
return _call(API_SETCLIENTID, (HRESULT)E_NOTIMPL, pszClientId);
}
inline UINT ifc_ombrowserconfig::GetX(void)
{
return _call(API_GETX, (HRESULT)E_NOTIMPL);
}
inline HRESULT ifc_ombrowserconfig::SetX(UINT x)
{
return _call(API_SETX, (HRESULT)E_NOTIMPL, x);
}
inline UINT ifc_ombrowserconfig::GetY(void)
{
return _call(API_GETY, (HRESULT)E_NOTIMPL);
}
inline HRESULT ifc_ombrowserconfig::SetY(UINT y)
{
return _call(API_SETY, (HRESULT)E_NOTIMPL, y);
}
#endif // NULLSOFT_WINAMP_OMBROWSER_BROWSER_CONFIG_INTERFACE_HEADER
|