Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpDataKey::DeleteKey
ISpDataKey::DeleteKey deletes a specified token key and all its descendants.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT DeleteKey(</strong> <strong>LPCWSTR</strong> *<em>pszSubKeyName</em> <strong>);</strong> </pre>
Parameters
- pszSubKeyName
Address of a null-terminated string specifying the name of the key or subkey to delete.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pszSubKeyName is invalid or bad. |
SPERR_NOT_FOUND | Token key not found. |
FAILED(hr) | Appropriate error message. |