summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/external_funcs.h
blob: 7eeb3f67312bf556d41c223ce878f1345a8f7c35 (plain)
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
enum EXTERNAL_FUNCTIONS
{
	DISPID_EXTERNAL_CALLSERVICE = 600,
	DISPID_EXTERNAL_CALLCONTACTSERVICE,

	DISPID_EXTERNAL_GET_CURRENTCONTACT = 630,

	DISPID_EXTERNAL_DB_GET = 652,
	DISPID_EXTERNAL_DB_SET,

	DISPID_EXTERNAL_WIN32_SHELL_EXECUTE = 660,
	DISPID_EXTERNAL_WIN32_COPY_TO_CLIPBOARD
};

namespace External
{
	HRESULT mir_CallService(DISPPARAMS *pDispParams, VARIANT *pVarResult);
	HRESULT mir_CallContactService(DISPPARAMS *pDispParams, VARIANT *pVarResult);

	HRESULT IEView_GetCurrentContact(IEView *self, DISPPARAMS *pDispParams, VARIANT *pVarResult);

	HRESULT db_get(DISPPARAMS *pDispParams, VARIANT *pVarResult);
	HRESULT db_set(DISPPARAMS *pDispParams, VARIANT *pVarResult);

	HRESULT win32_ShellExecute(DISPPARAMS *pDispParams, VARIANT *pVarResult);
	HRESULT win32_CopyToClipboard(DISPPARAMS *pDispParams, VARIANT *pVarResult);
}