本文整理汇总了C++中return_nsstr函数的典型用法代码示例。如果您正苦于以下问题:C++ return_nsstr函数的具体用法?C++ return_nsstr怎么用?C++ return_nsstr使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了return_nsstr函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: HTMLImgElement_get_name
static HRESULT WINAPI HTMLImgElement_get_name(IHTMLImgElement *iface, BSTR *p)
{
HTMLImgElement *This = impl_from_IHTMLImgElement(iface);
nsAString name;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&name, NULL);
nsres = nsIDOMHTMLImageElement_GetName(This->nsimg, &name);
return return_nsstr(nsres, &name, p);
}
开发者ID:RareHare,项目名称:reactos,代码行数:12,代码来源:htmlimg.c
示例2: HTMLFormElement_get_method
static HRESULT WINAPI HTMLFormElement_get_method(IHTMLFormElement *iface, BSTR *p)
{
HTMLFormElement *This = impl_from_IHTMLFormElement(iface);
nsAString method_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&method_str, NULL);
nsres = nsIDOMHTMLFormElement_GetMethod(This->nsform, &method_str);
return return_nsstr(nsres, &method_str, p);
}
开发者ID:PigFlyGames,项目名称:wine,代码行数:12,代码来源:htmlform.c
示例3: HTMLImgElement_get_alt
static HRESULT WINAPI HTMLImgElement_get_alt(IHTMLImgElement *iface, BSTR *p)
{
HTMLImgElement *This = impl_from_IHTMLImgElement(iface);
nsAString alt_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&alt_str, NULL);
nsres = nsIDOMHTMLImageElement_GetAlt(This->nsimg, &alt_str);
return return_nsstr(nsres, &alt_str, p);
}
开发者ID:RareHare,项目名称:reactos,代码行数:12,代码来源:htmlimg.c
示例4: HTMLLinkElement_get_type
static HRESULT WINAPI HTMLLinkElement_get_type(IHTMLLinkElement *iface, BSTR *p)
{
HTMLLinkElement *This = impl_from_IHTMLLinkElement(iface);
nsAString type_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&type_str, NULL);
nsres = nsIDOMHTMLLinkElement_GetType(This->nslink, &type_str);
return return_nsstr(nsres, &type_str, p);
}
开发者ID:RPG-7,项目名称:reactos,代码行数:12,代码来源:htmllink.c
示例5: HTMLTextAreaElement_get_defaultValue
static HRESULT WINAPI HTMLTextAreaElement_get_defaultValue(IHTMLTextAreaElement *iface, BSTR *p)
{
HTMLTextAreaElement *This = impl_from_IHTMLTextAreaElement(iface);
nsAString nsstr;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&nsstr, NULL);
nsres = nsIDOMHTMLTextAreaElement_GetDefaultValue(This->nstextarea, &nsstr);
return return_nsstr(nsres, &nsstr, p);
}
开发者ID:GYGit,项目名称:reactos,代码行数:12,代码来源:htmltextarea.c
示例6: HTMLDOMNode_get_nodeName
static HRESULT WINAPI HTMLDOMNode_get_nodeName(IHTMLDOMNode *iface, BSTR *p)
{
HTMLDOMNode *This = impl_from_IHTMLDOMNode(iface);
nsAString name;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&name, NULL);
nsres = nsIDOMNode_GetNodeName(This->nsnode, &name);
return return_nsstr(nsres, &name, p);
}
开发者ID:GYGit,项目名称:reactos,代码行数:12,代码来源:htmlnode.c
示例7: HTMLElement3_get_contentEditable
static HRESULT WINAPI HTMLElement3_get_contentEditable(IHTMLElement3 *iface, BSTR *p)
{
HTMLElement *This = impl_from_IHTMLElement3(iface);
nsresult nsres;
nsAString str;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&str, NULL);
nsres = nsIDOMHTMLElement_GetContentEditable(This->nselem, &str);
return return_nsstr(nsres, &str, p);
}
开发者ID:Dietr1ch,项目名称:wine,代码行数:12,代码来源:htmlelem3.c
示例8: HTMLBodyElement_get_background
static HRESULT WINAPI HTMLBodyElement_get_background(IHTMLBodyElement *iface, BSTR *p)
{
HTMLBodyElement *This = impl_from_IHTMLBodyElement(iface);
nsAString background_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&background_str, NULL);
nsres = nsIDOMHTMLBodyElement_GetBackground(This->nsbody, &background_str);
return return_nsstr(nsres, &background_str, p);
}
开发者ID:AndreRH,项目名称:wine,代码行数:12,代码来源:htmlbody.c
示例9: HTMLDOMTextNode_get_data
static HRESULT WINAPI HTMLDOMTextNode_get_data(IHTMLDOMTextNode *iface, BSTR *p)
{
HTMLDOMTextNode *This = impl_from_IHTMLDOMTextNode(iface);
nsAString nsstr;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&nsstr, NULL);
nsres = nsIDOMText_GetData(This->nstext, &nsstr);
return return_nsstr(nsres, &nsstr, p);
}
开发者ID:Barrell,项目名称:wine,代码行数:12,代码来源:htmltextnode.c
示例10: HTMLOptionElement_get_text
static HRESULT WINAPI HTMLOptionElement_get_text(IHTMLOptionElement *iface, BSTR *p)
{
HTMLOptionElement *This = impl_from_IHTMLOptionElement(iface);
nsAString text_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&text_str, NULL);
nsres = nsIDOMHTMLOptionElement_GetText(This->nsoption, &text_str);
return return_nsstr(nsres, &text_str, p);
}
开发者ID:RareHare,项目名称:reactos,代码行数:12,代码来源:htmloption.c
示例11: HTMLStyleSheet_get_href
static HRESULT WINAPI HTMLStyleSheet_get_href(IHTMLStyleSheet *iface, BSTR *p)
{
HTMLStyleSheet *This = impl_from_IHTMLStyleSheet(iface);
nsAString href_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&href_str, NULL);
nsres = nsIDOMCSSStyleSheet_GetHref(This->nsstylesheet, &href_str);
return return_nsstr(nsres, &href_str, p);
}
开发者ID:DeltaYang,项目名称:wine,代码行数:12,代码来源:htmlstylesheet.c
示例12: HTMLStyleElement_get_media
static HRESULT WINAPI HTMLStyleElement_get_media(IHTMLStyleElement *iface, BSTR *p)
{
HTMLStyleElement *This = impl_from_IHTMLStyleElement(iface);
nsAString nsstr;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&nsstr, NULL);
nsres = nsIDOMHTMLStyleElement_GetMedia(This->nsstyle, &nsstr);
return return_nsstr(nsres, &nsstr, p);
}
开发者ID:AlexSteel,项目名称:wine,代码行数:12,代码来源:htmlstyleelem.c
示例13: HTMLScriptElement_get_src
static HRESULT WINAPI HTMLScriptElement_get_src(IHTMLScriptElement *iface, BSTR *p)
{
HTMLScriptElement *This = impl_from_IHTMLScriptElement(iface);
nsAString src_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&src_str, NULL);
nsres = nsIDOMHTMLScriptElement_GetSrc(This->nsscript, &src_str);
return return_nsstr(nsres, &src_str, p);
}
开发者ID:MichaelMcDonnell,项目名称:wine,代码行数:12,代码来源:htmlscript.c
示例14: HTMLAnchorElement_get_hash
static HRESULT WINAPI HTMLAnchorElement_get_hash(IHTMLAnchorElement *iface, BSTR *p)
{
HTMLAnchorElement *This = impl_from_IHTMLAnchorElement(iface);
nsAString hash_str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&hash_str, NULL);
nsres = nsIDOMHTMLAnchorElement_GetHash(This->nsanchor, &hash_str);
return return_nsstr(nsres, &hash_str, p);
}
开发者ID:Dimillian,项目名称:wine,代码行数:12,代码来源:htmlanchor.c
示例15: HTMLObjectElement_get_name
static HRESULT WINAPI HTMLObjectElement_get_name(IHTMLObjectElement *iface, BSTR *p)
{
HTMLObjectElement *This = impl_from_IHTMLObjectElement(iface);
nsAString nsstr;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&nsstr, NULL);
nsres = nsIDOMHTMLObjectElement_GetName(This->nsobject, &nsstr);
return return_nsstr(nsres, &nsstr, p);
}
开发者ID:GranPC,项目名称:wine,代码行数:12,代码来源:htmlobject.c
示例16: HTMLTable_get_cellSpacing
static HRESULT WINAPI HTMLTable_get_cellSpacing(IHTMLTable *iface, VARIANT *p)
{
HTMLTable *This = impl_from_IHTMLTable(iface);
nsAString nsstr;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&nsstr, NULL);
nsres = nsIDOMHTMLTableElement_GetCellSpacing(This->nstable, &nsstr);
V_VT(p) = VT_BSTR;
return return_nsstr(nsres, &nsstr, &V_BSTR(p));
}
开发者ID:DeltaYang,项目名称:wine,代码行数:13,代码来源:htmltable.c
示例17: HTMLTable3_get_summary
static HRESULT WINAPI HTMLTable3_get_summary(IHTMLTable3 *iface, BSTR * p)
{
HTMLTable *This = impl_from_IHTMLTable3(iface);
nsAString str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&str, NULL);
nsres = nsIDOMHTMLTableElement_GetSummary(This->nstable, &str);
return return_nsstr(nsres, &str, p);
}
开发者ID:DeltaYang,项目名称:wine,代码行数:13,代码来源:htmltable.c
示例18: HTMLTableCell_get_align
static HRESULT WINAPI HTMLTableCell_get_align(IHTMLTableCell *iface, BSTR *p)
{
HTMLTableCell *This = impl_from_IHTMLTableCell(iface);
nsAString str;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&str, NULL);
nsres = nsIDOMHTMLTableCellElement_GetAlign(This->nscell, &str);
return return_nsstr(nsres, &str, p);
}
开发者ID:RPG-7,项目名称:reactos,代码行数:13,代码来源:htmltablecell.c
示例19: HTMLTableRow_get_vAlign
static HRESULT WINAPI HTMLTableRow_get_vAlign(IHTMLTableRow *iface, BSTR *p)
{
HTMLTableRow *This = impl_from_IHTMLTableRow(iface);
nsAString val;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsAString_Init(&val, NULL);
nsres = nsIDOMHTMLTableRowElement_GetVAlign(This->nsrow, &val);
return return_nsstr(nsres, &val, p);
}
开发者ID:JamieYan,项目名称:wine,代码行数:13,代码来源:htmltablerow.c
示例20: HTMLXMLHttpRequest_get_responseText
static HRESULT WINAPI HTMLXMLHttpRequest_get_responseText(IHTMLXMLHttpRequest *iface, BSTR *p)
{
HTMLXMLHttpRequest *This = impl_from_IHTMLXMLHttpRequest(iface);
nsAString nsstr;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
if(!p)
return E_POINTER;
nsAString_Init(&nsstr, NULL);
nsres = nsIXMLHttpRequest_GetResponseText(This->nsxhr, &nsstr);
return return_nsstr(nsres, &nsstr, p);
}
开发者ID:abl,项目名称:wine,代码行数:15,代码来源:xmlhttprequest.c
注:本文中的return_nsstr函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论