本文整理汇总了C++中BString::release方法的典型用法代码示例。如果您正苦于以下问题:C++ BString::release方法的具体用法?C++ BString::release怎么用?C++ BString::release使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BString
的用法示例。
在下文中一共展示了BString::release方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: user
HRESULT STDMETHODCALLTYPE WebURLCredential::user(
/* [out, retval] */ BSTR* result)
{
BString str = m_credential.user();
*result = str.release();
return S_OK;
}
示例2: password
HRESULT STDMETHODCALLTYPE WebURLCredential::password(
/* [out, retval] */ BSTR* password)
{
BString str = m_credential.password();
*password = str.release();
return S_OK;
}
示例3: realm
HRESULT STDMETHODCALLTYPE WebURLProtectionSpace::realm(
/* [out, retval] */ BSTR* result)
{
BString bstring = m_protectionSpace.realm();
*result = bstring.release();
return S_OK;
}
示例4: host
HRESULT STDMETHODCALLTYPE WebURLProtectionSpace::host(
/* [out, retval] */ BSTR* result)
{
BString str = m_protectionSpace.host();
*result = str.release();
return S_OK;
}
示例5: HTTPMethod
HRESULT STDMETHODCALLTYPE WebMutableURLRequest::HTTPMethod(
/* [retval][out] */ BSTR* result)
{
BString httpMethod = BString(m_request.httpMethod());
*result = httpMethod.release();
return S_OK;
}
示例6: URLString
HRESULT WebHistoryItem::URLString(__deref_opt_out BSTR* url)
{
if (!url)
return E_POINTER;
BString str = m_historyItem->urlString();
*url = str.release();
return S_OK;
}
示例7: URLString
HRESULT STDMETHODCALLTYPE WebHistoryItem::URLString(
/* [retval][out] */ BSTR* url)
{
if (!url)
return E_POINTER;
BString str = m_historyItem->urlString();
*url = str.release();
return S_OK;
}