summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/external_funcs.h
blob: aa9a6ac306f31d88b7cf5d88302da668fab29cf5 (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);
}