description | title | ms.date | f1_keywords | helpviewer_keywords | ||
---|---|---|---|---|---|---|
Learn more about: _bstr_t::GetAddress |
_bstr_t::GetAddress |
02/02/2021 |
|
|
Microsoft Specific
Frees any existing string and returns the address of a newly allocated string.
BSTR* GetAddress( );
A pointer to the BSTR
wrapped by the _bstr_t
.
GetAddress
affects all _bstr_t
objects that share a BSTR
. More than one _bstr_t
can share a BSTR
through the use of the copy constructor and operator=
.
See _bstr_t::Assign
for an example that uses GetAddress
.
END Microsoft Specific