Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 1.27 KB

bstr-t-wchar-t-star-bstr-t-char-star.md

File metadata and controls

60 lines (53 loc) · 1.27 KB
title _bstr_t::wchar_t*, _bstr_t::char* | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
_bstr_t::wchar_t*
_bstr_t::char*
dev_langs
C++
helpviewer_keywords
operator wchar_t*
operator char*
ms.assetid acd9f4a7-b427-42c2-aaae-acae21cab317
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

_bstr_t::wchar_t*, _bstr_t::char*

Microsoft Specific

Returns the BSTR characters as a narrow or wide character array.

Syntax

  
      operator const wchar_t*( ) const throw( );   
operator wchar_t*( ) const throw( );   
operator const char*( ) const;   
operator char*( ) const;  

Remarks

These operators can be used to extract the character data that is encapsulated by the BSTR object. Assigning a new value to the returned pointer does not modify the original BSTR data.

END Microsoft Specific

See Also

_bstr_t Class