summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/IEView.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-20 19:48:02 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-20 19:48:02 +0000
commite0a53609f587b1fd1b1daff2ae96feb8f39b62e1 (patch)
tree43ca204c287c8e49ed0a4fd5afd008467d818e4a /plugins/IEView/src/IEView.cpp
parent1e1240560a1d7761564deb698fe69516492d40b0 (diff)
IEView: code cleanup, vs2010 compilation fix(?)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/IEView.cpp')
-rw-r--r--plugins/IEView/src/IEView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IEView/src/IEView.cpp b/plugins/IEView/src/IEView.cpp
index 464d787c4b..3b92ddf519 100644
--- a/plugins/IEView/src/IEView.cpp
+++ b/plugins/IEView/src/IEView.cpp
@@ -421,13 +421,13 @@ STDMETHODIMP IEView::GetTypeInfo(UINT, LCID, LPTYPEINFO*)
{
return S_OK;
}
-STDMETHODIMP IEView::GetIDsOfNames(REFIID riid, OLECHAR **rgszNames, size_t cNames, LCID lcid, DISPID *rgDispId)
+STDMETHODIMP IEView::GetIDsOfNames(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
{
HRESULT retval = S_OK;
for (size_t i = 0; i < cNames; i++)
{
if (!wcscmp(L"db_get", rgszNames[i]))
- rgDispId[i] = DISPID_JS_DB_GET;
+ rgDispId[i] = DISPID_EXTERNAL_DB_GET;
else
{
rgDispId[i] = NULL;
@@ -449,7 +449,7 @@ STDMETHODIMP IEView::Invoke(DISPID dispIdMember,
switch (dispIdMember)
{
- case DISPID_JS_DB_GET:
+ case DISPID_EXTERNAL_DB_GET:
return External::db_get(pDispParams, pVarResult);
}