Implemented CreateAsyncBindCtx
Jacek Caban
jack at itma.pwr.wroc.pl
Sun Dec 5 14:41:52 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bindctx2.diff
Type: text/x-patch
Size: 7911 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041205/6fe36a23/bindctx2.bin
More information about the wine-patches
mailing list