Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 840 Bytes

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

File metadata and controls

31 lines (22 loc) · 840 Bytes
description title ms.date f1_keywords helpviewer_keywords
Learn more about: _bstr_t::wchar_t*, _bstr_t::char*
_bstr_t::wchar_t*, _bstr_t::char*
02/02/2021
_bstr_t::wchar_t*
_bstr_t::char*
operator wchar_t* [C++]
operator char* [C++]

_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's 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