diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 11:34:53 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 11:34:53 +0000 |
commit | f0a879bbe79ba0ccde680481c3693b9fbc5382c2 (patch) | |
tree | 2104687d399a05465b48543099e25e2e351184bf /ext/win32ole | |
parent | bc77886cecdc4f10d121111297ae056ef2f52faf (diff) | |
download | ruby-f0a879bbe79ba0ccde680481c3693b9fbc5382c2.tar.gz ruby-f0a879bbe79ba0ccde680481c3693b9fbc5382c2.tar.xz ruby-f0a879bbe79ba0ccde680481c3693b9fbc5382c2.zip |
support PROPERTYPUTREF. [ruby-talk:183042]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole')
-rw-r--r-- | ext/win32ole/win32ole.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 202b54f93..6384c9e2c 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -79,7 +79,7 @@ #define WC2VSTR(x) ole_wc2vstr((x), TRUE) -#define WIN32OLE_VERSION "0.7.7" +#define WIN32OLE_VERSION "0.7.8" typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX) (REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*); @@ -2820,7 +2820,7 @@ ole_propertyput(VALUE self, VALUE property, VALUE value) EXCEPINFO excepinfo; DISPID dispID = DISPID_VALUE; DISPID dispIDParam = DISPID_PROPERTYPUT; - USHORT wFlags = DISPATCH_PROPERTYPUT; + USHORT wFlags = DISPATCH_PROPERTYPUT|DISPATCH_PROPERTYPUTREF; DISPPARAMS dispParams; VARIANTARG propertyValue[2]; OLECHAR* pBuf[1]; @@ -3214,7 +3214,7 @@ ole_methods(VALUE self, int mask) static VALUE fole_methods(VALUE self) { - return ole_methods( self, INVOKE_FUNC | INVOKE_PROPERTYGET | INVOKE_PROPERTYPUT); + return ole_methods( self, INVOKE_FUNC | INVOKE_PROPERTYGET | INVOKE_PROPERTYPUT | INVOKE_PROPERTYPUTREF); } /* @@ -3246,7 +3246,7 @@ fole_get_methods(VALUE self) static VALUE fole_put_methods(VALUE self) { - return ole_methods( self, INVOKE_PROPERTYPUT); + return ole_methods( self, INVOKE_PROPERTYPUT|INVOKE_PROPERTYPUTREF); } /* |