Re: oleaut32: add PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture::Render
On Tue, 9 Dec 2008, Nikolay Sivov wrote: + case PICTYPE_NONE: + case PICTYPE_UNINITIALIZED: + /* undocumented code */ + return 0x800A017C; This code looks suspiciously like CTL_E_INVALIDPROPERTYVALUE (from olectl.h) to me...
Re: oleaut32: add PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture::Render
Jeremy Drake wrote: On Tue, 9 Dec 2008, Nikolay Sivov wrote: + case PICTYPE_NONE: + case PICTYPE_UNINITIALIZED: + /* undocumented code */ + return 0x800A017C; This code looks suspiciously like CTL_E_INVALIDPROPERTYVALUE (from olectl.h) to me... You're right. It returns CTL_E_INVALIDPROPERTYVALUE when at least one of dimensions is zero. I'll update a patch.