CSpDynamicString Append Methods

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

CSpDynamicString::Append

The following methods append null-terminated strings together.


Appends the null-terminated source string to the end of the instance and returns the resulting string.

WCHAR* Append(
   const WCHAR  *pszSrc
)

Parameters

pszSrc
[in] The null-terminated source string to append.


Appends the null-terminated source string to the end of the instance and returns the resulting string. The size to append is specified.

WCHAR* Append(
   const WCHAR  *pszSrc,
   const ULONG   lenSrc
)

Parameters

pszSrc
[in] The null-terminated source string to append.
lenSrc
[in] Size, in WCHARs, to append.


Appends up to two null-terminated source strings to the end of the instance and returns the resulting string. At least one of the to strings must be non-NULL.

WCHAR* Append2(
   const WCHAR  *pszSrc1,
   const WCHAR  *pszSrc2
)

Parameters

pszSrc1
[in] The first source string to append.
pszSrc2
[in] The second source string to append.