Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Microsoft Specific
A _bstr_t object encapsulates the BSTR data type. The class manages resource allocation and deallocation through function calls to SysAllocString and SysFreeString and other BSTR APIs when appropriate. The _bstr_t class uses reference counting to avoid excessive overhead.
Construction
Constructs a _bstr_t object. |
Operations
Copies a BSTR into the BSTR wrapped by a _bstr_t. |
|
Links a _bstr_t wrapper to a BSTR. |
|
Constructs a copy of the encapsulated BSTR. |
|
Returns the BSTR wrapped by a _bstr_t and detaches the BSTR from the _bstr_t. |
|
Points to the BSTR wrapped by a _bstr_t. |
|
Points to the beginning of the BSTR wrapped by the _bstr_t. |
|
Returns the number of characters in the _bstr_t. |
Operators
Assigns a new value to an existing _bstr_t object. |
|
Appends characters to the end of the _bstr_t object. |
|
Concatenates two strings. |
|
Checks if the encapsulated BSTR is a NULL string. |
|
Compares two _bstr_t objects. |
|
Extract the pointers to the encapsulated Unicode or multibyte BSTR object. |
Requirements
Header: comutil.h
Lib: comsuppw.lib or comsuppwd.lib (see /Zc:wchar_t (wchar_t Is Native Type) for more information)