C/C++ Language Reference
_bstr_t
Microsoft Specific
A _bstr_t object encapsulates the BSTR data type. The class manages resource allocation and deallocation, via function calls to SysAllocString and SysFreeString, and other BSTR APIs when appropriate. The _bstr_t class uses reference counting to avoid excessive overhead.
#include <comdef.h>
Construction
| _bstr_t | Constructs a _bstr_t object. |
Operations
| copy | Constructs a copy of the encapsulated BSTR. |
| length | Returns the length of the encapsulated BSTR. |
Operators
END Microsoft Specific