Implemented CreateAsyncBindCtx

Jacek Caban jack at itma.pwr.wroc.pl
Tue Dec 7 17:52:32 CST 2004


Alexandre Julliard wrote:

>Jacek Caban <jack at itma.pwr.wroc.pl> writes:
>
>  
>
>>It's my tiny bug. RegsterObjectParam can fail only with E_OUTOFMEMORY
>>here, so checking it's return is
>>really not important, but to be correct at all, hres should be just
>>returned.
>>    
>>
>
>No, that's worse than before, now you return an error while still
>allocating the object. You need to cleanup the allocated context when
>returning a failure.
>  
>

Sorry for this bug. This is a fixed version. Also I think I should note 
that the test in this patch
is quite long for one small function, but I'm planning to add next ones 
that will need
IBindStatusCallback interface, as well.

Changelog:
    - Implemented CreateAsyncBindCtx
    - Added test


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bindctx3.diff
Type: text/x-patch
Size: 6981 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041207/0b3190b1/bindctx3.bin


More information about the wine-patches mailing list