Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
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 CoTaskMemFree() 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.