Export (0) Print
Expand All

_bstr_t::wchar_t*, _bstr_t::char* 

Microsoft Specific

Extract the pointers to the encapsulated Unicode or multibyte BSTR object.


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

These operators can be used to extract raw pointers to the encapsulated Unicode or multibyte BSTR object. The operators return the pointer to the actual internal buffer, so the resulting string cannot be modified.

END Microsoft Specific

Show:
© 2014 Microsoft