Microsoft Speech SDK
SAPI 5.1
Creates and sets the instance to NULL.
Creates and allocates an instance of the specified number of WCHARs.
Creates and initializes and copies the source string into it.
Creates and initializes and copies the source string into it.
Makes a copy of the CSpDynamicString class string. The current instance is CoMemtaskFree() first, if needed.
Allocates an instance and copies the reference GUID into it.
CSpDynamicString::Constructor
The following methods may be used to construct the instance.
Creates and sets the instance to NULL.
void CSpDynamicString( void )
Parameters
- None. Initializes string to NULL.
Creates and allocates an instance of the specified number of WCHARs.
void CSpDynamicString(
ULONG cchReserve
);
Parameters
- cchReserve
- [in] The length of the string to allocate.
Creates and initializes and copies the source string into it.
void CSpDynamicString(
const WCHAR *pSrc
)
Parameters
- cchReserve
- [in] Initializes the string to pSrc.
Creates and initializes and copies the source string into it.
void CSpDynamicString(
const char *pSrc
)
Parameters
- pSrc
- [in] Initializes the string to pSrc.
Makes a copy of the CSpDynamicString class string. The current instance is CoMemtaskFree() first, if needed.
void CSpDynamicString(
const CSpDynamicString &src
)
Parameters
- src
- [in] Initializes the string by copying the string of src.
Allocates an instance and copies the reference GUID into it.
void CSpDynamicString(
REFGUID rguid
)
Parameters
- rguid
- [in] Initializes the string from the CLSID of rguid.