Microsoft Speech Platform
ISpDataKey::DeleteKey
ISpDataKey::DeleteKey deletes a specified token key and all its descendants.
HRESULT DeleteKey(
LPCWSTR *pszSubKeyName
);
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. |