Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Constructor

CSpDynamicString Constructor Methods (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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.
Show:
© 2015 Microsoft