_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;

Remarks

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

See Also

Reference

_bstr_t Class