comstl/string/BSTR_functions.h File Reference


Detailed Description

[C, C++] Functions for manipulating BSTR strings (String Library).

#include <comstl/comstl.h>
#include <string.h>
#include <wchar.h>

Go to the source code of this file.

Namespaces

namespace  comstl

Functions

STLSOFT_INLINE BSTR comstl__bstr_create_w (wchar_t const *s)
 [C only] Creates a BSTR from a Unicode string
STLSOFT_INLINE BSTR comstl__bstr_create_len_w (wchar_t const *s, size_t len)
 [C only] Creates a BSTR from a (part of a) Unicode string
STLSOFT_INLINE BSTR comstl__bstr_create_a (char const *s)
 [C only] Creates a BSTR from an ANSI string
STLSOFT_INLINE BSTR comstl__bstr_create_len_a (char const *s, size_t len)
 [C only] Creates a BSTR from an ANSI string
STLSOFT_INLINE void comstl__bstr_destroy (BSTR bstr)
 [C only] Destroys a BSTR
STLSOFT_INLINE BSTR comstl__bstr_dup (BSTR bstr)
 [C only] Duplicates a BSTR
STLSOFT_INLINE int comstl__bstr_compare (BSTR s1, BSTR s2)
 [C only] Compares two BSTR strings
BSTR bstr_create_w (wchar_t const *s)
 Creates a BSTR from a Unicode string.
BSTR bstr_create_w (wchar_t const *s, size_t len)
 Creates a BSTR from a Unicode string.
BSTR bstr_create_a (char const *s)
 Creates a BSTR from an ANSI string.
BSTR bstr_create_a (char const *s, size_t len)
 Creates a BSTR from an ANSI string.
BSTR bstr_create (char const *s)
 Creates a BSTR from an ANSI string.
BSTR bstr_create (char const *s, size_t len)
 Creates a BSTR from an ANSI string.
BSTR bstr_create (wchar_t const *s)
 Creates a BSTR from a Unicode string.
BSTR bstr_create (wchar_t const *s, size_t len)
 Creates a BSTR from a Unicode string.
void bstr_destroy (BSTR bstr)
 Destroys a BSTR.
BSTR bstr_dup (BSTR bstr)
 Duplicates a BSTR.
int bstr_compare (BSTR s1, BSTR s2)
 Compares two BSTR strings.


Generated on Thu Jun 10 08:57:57 2010 for STLSoft by  doxygen 1.5.6