Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.11 KB

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

File metadata and controls

41 lines (34 loc) · 1.11 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* [C++]
operator char* [C++]
ms.assetid acd9f4a7-b427-42c2-aaae-acae21cab317
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
ms.workload
cplusplus

_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