Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.02 KB

File metadata and controls

44 lines (34 loc) · 1.02 KB
title _bstr_t::GetBSTR | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
_bstr_t::GetBSTR
dev_langs
C++
helpviewer_keywords
GetBSTR method [C++]
ms.assetid 0c62ff16-4433-4183-a03c-d5a0a9b731ef
caps.latest.revision 6
author mikeblome
ms.author mblome
manager ghogen

_bstr_t::GetBSTR

Microsoft Specific

Points to the beginning of the BSTR wrapped by the _bstr_t.

Syntax

  
BSTR& GetBSTR( );  
  

Return Value

The beginning of the BSTR wrapped by the _bstr_t.

Remarks

GetBSTR 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 and operator=.

Example

See _bstr_t::Assign for an example using GetBSTR.

END Microsoft Specific

See Also

_bstr_t Class