зеркало из https://github.com/github/ruby.git
* ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize result
variant value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
126d6acc50
Коммит
488aa8307d
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Sep 12 07:52:59 2009 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||||
|
|
||||||
|
* ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize result
|
||||||
|
variant value.
|
||||||
|
|
||||||
Fri Sep 11 21:52:13 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Sep 11 21:52:13 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* NEWS: update for 1.9.2. based on a patch from Run Paint Run Run
|
* NEWS: update for 1.9.2. based on a patch from Run Paint Run Run
|
||||||
|
|
|
@ -130,7 +130,7 @@ const IID IID_IMultiLanguage2 = {0xDCCFC164, 0x2B38, 0x11d2, {0xB7, 0xEC, 0x00,
|
||||||
|
|
||||||
#define WC2VSTR(x) ole_wc2vstr((x), TRUE)
|
#define WC2VSTR(x) ole_wc2vstr((x), TRUE)
|
||||||
|
|
||||||
#define WIN32OLE_VERSION "1.4.1"
|
#define WIN32OLE_VERSION "1.4.2"
|
||||||
|
|
||||||
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
|
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
|
||||||
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
|
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
|
||||||
|
@ -7699,6 +7699,7 @@ STDMETHODIMP EVENTSINK_Invoke(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pvarResult) {
|
if (pvarResult) {
|
||||||
|
VariantInit(pvarResult);
|
||||||
ole_val2variant(result, pvarResult);
|
ole_val2variant(result, pvarResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче