summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/IEView.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-22 16:33:28 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-22 16:33:28 +0000
commit4bb8550d10c34780632b8f3336d088f9745cfb94 (patch)
tree6307ed3cb9a09accf34dd4c3f52a22509354b8ed /plugins/IEView/src/IEView.cpp
parenta5e8121ff0cfcbf7b716afd487759747fb801163 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16145 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/IEView.cpp')
-rw-r--r--plugins/IEView/src/IEView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/IEView/src/IEView.cpp b/plugins/IEView/src/IEView.cpp
index c09544c6f7..2be1e2eacf 100644
--- a/plugins/IEView/src/IEView.cpp
+++ b/plugins/IEView/src/IEView.cpp
@@ -433,6 +433,8 @@ STDMETHODIMP IEView::GetIDsOfNames(REFIID /*riid*/, LPOLESTR *rgszNames, UINT cN
else if (!wcscmp(L"win32_ShellExecute", rgszNames[i]))
rgDispId[i] = DISPID_EXTERNAL_WIN32_SHELL_EXECUTE;
+ else if (!wcscmp(L"win32_CopyToClipboard", rgszNames[i]))
+ rgDispId[i] = DISPID_EXTERNAL_WIN32_COPY_TO_CLIPBOARD;
else if (!wcscmp(L"IEView_SetContextMenuHandler", rgszNames[i]))
rgDispId[i] = DISPID_EXTERNAL_SET_CONTEXTMENUHANDLER;
@@ -473,6 +475,8 @@ STDMETHODIMP IEView::Invoke(DISPID dispIdMember,
case DISPID_EXTERNAL_WIN32_SHELL_EXECUTE:
return External::win32_ShellExecute(pDispParams, pVarResult);
+ case DISPID_EXTERNAL_WIN32_COPY_TO_CLIPBOARD:
+ return External::win32_CopyToClipboard(pDispParams, pVarResult);
case DISPID_EXTERNAL_GET_CURRENTCONTACT:
return External::IEView_GetCurrentContact(this, pDispParams, pVarResult);