1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
suke 2009-09-11 22:55:47 +00:00
parent 126d6acc50
commit 488aa8307d
2 changed files with 7 additions and 1 deletions

View file

@ -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>
* NEWS: update for 1.9.2. based on a patch from Run Paint Run Run

View file

@ -130,7 +130,7 @@ const IID IID_IMultiLanguage2 = {0xDCCFC164, 0x2B38, 0x11d2, {0xB7, 0xEC, 0x00,
#define WC2VSTR(x) ole_wc2vstr((x), TRUE)
#define WIN32OLE_VERSION "1.4.1"
#define WIN32OLE_VERSION "1.4.2"
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
@ -7699,6 +7699,7 @@ STDMETHODIMP EVENTSINK_Invoke(
}
if (pvarResult) {
VariantInit(pvarResult);
ole_val2variant(result, pvarResult);
}