[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: mshtml: Added IHTMLTable::bgColor property implementation.
From: Nikolay Sivov <bunglehead () gmail ! com>
Date: 2014-03-30 15:23:43
Message-ID: 533836FF.9030407 () gmail ! com
[Download RAW message or body]
On 3/30/2014 19:18, Zhenbo Li wrote:
> + nsAString_Init(&strColor, NULL);
> + nsres = nsIDOMHTMLTableElement_GetBgColor(This->nstable, &strColor);
> + nsAString_Finish(&strColor);
> +
> + if(NS_SUCCEEDED(nsres)) {
> + nsAString_GetData(&strColor, &color);
> + V_VT(p) = VT_BSTR;
> + hres = nscolor_to_str(color, &V_BSTR(p));
> + }else {
> + ERR("SetBgColor failed: %08x\n", nsres);
> + hres = E_FAIL;
> + }
I think you can't do GetData() after Finish().
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic