static HRESULT WINAPI HTMLBodyElement_get_vLink(IHTMLBodyElement *iface, VARIANT *p) { HTMLBodyElement *This = impl_from_IHTMLBodyElement(iface); nsAString vlink_str; nsresult nsres; TRACE("(%p)->(%p)\n", This, p); nsAString_Init(&vlink_str, NULL); nsres = nsIDOMHTMLBodyElement_GetVLink(This->nsbody, &vlink_str); return return_nscolor(nsres, &vlink_str, p); }
static HRESULT WINAPI HTMLBodyElement_get_vLink(IHTMLBodyElement *iface, VARIANT *p) { HTMLBodyElement *This = impl_from_IHTMLBodyElement(iface); nsAString vlink_str; nsresult nsres; TRACE("(%p)->(%p)\n", This, p); nsAString_Init(&vlink_str, NULL); nsres = nsIDOMHTMLBodyElement_GetVLink(This->nsbody, &vlink_str); if(NS_FAILED(nsres)) ERR("GetLink failed: %08x\n", nsres); nscolor_to_variant(&vlink_str, p); nsAString_Finish(&vlink_str); return S_OK; }