_bstr_t::GetAddress
Microsoft Specific
Frees any existing string and returns the address of a newly allocated string.
Syntax
BSTR* GetAddress( );
Return Value
A pointer to the BSTR
wrapped by the _bstr_t
.
Remarks
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=
.
Example
See _bstr_t::Assign
for an example that uses GetAddress
.
END Microsoft Specific
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir