STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

BSTR Functions
[COMSTL]

These functions create, manipulate and destroy instances of COM's BSTR type. More...

Functions

BSTR bstr_create_w (cs_char_w_t const *s)
 Creates a BSTR from a Unicode string.

BSTR bstr_create_a (cs_char_a_t const *s)
 Creates a BSTR from an ANSI string.

BSTR bstr_create (cs_char_a_t const *s)
 Creates a BSTR from an ANSI string.

BSTR bstr_create (cs_char_w_t const *s)
 Creates a BSTR from a Unicode string.

void bstr_destroy (BSTR bstr)
 Destroys a BSTR.

BSTR bstr_dup (BSTR bstr)
 Duplicates a BSTR.


Detailed Description

These functions create, manipulate and destroy instances of COM's BSTR type.


Function Documentation

BSTR bstr_create cs_char_w_t const *    s [inline]
 

Creates a BSTR from a Unicode string.

Parameters:
s  The string from which to create the BSTR
Returns:
The created BSTR

BSTR bstr_create cs_char_a_t const *    s [inline]
 

Creates a BSTR from an ANSI string.

Parameters:
s  The string from which to create the BSTR
Returns:
The created BSTR

BSTR bstr_create_a cs_char_a_t const *    s [inline]
 

Creates a BSTR from an ANSI string.

Parameters:
s  The string from which to create the BSTR
Returns:
The created BSTR

BSTR bstr_create_w cs_char_w_t const *    s [inline]
 

Creates a BSTR from a Unicode string.

Parameters:
s  The string from which to create the BSTR
Returns:
The created BSTR

void bstr_destroy BSTR    bstr [inline]
 

Destroys a BSTR.

Parameters:
bstr  The BSTR to destroy

BSTR bstr_dup BSTR    bstr [inline]
 

Duplicates a BSTR.

Parameters:
bstr  The BSTR to duplicate
Returns:
The copied BSTR

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004