Implemented CreateAsyncBindCtx

Jacek Caban jack at itma.pwr.wroc.pl
Sun Dec 5 14:40:42 CST 2004


Mike Hearn wrote:

>On Fri, 03 Dec 2004 23:01:36 -0500, Jacek Caban wrote:
>  
>
>>+    hres = IBindCtx_RegisterObjectParam(bctx, (LPOLESTR)BSCBHolder, (IUnknown*)callback);
>>+
>>+    *pbind = bctx;
>>+
>>+    return S_OK;
>> }
>>    
>>
>
>You don't do anything with hres here, is that intentional? Can
>RegisterObjectParam fail?
>
>thanks -mike
>
>  
>
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.

Thanks,
    Jacek



More information about the wine-devel mailing list