ISpDataKey::DeleteKey (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGpszSubKeyName is invalid or bad.
SPERR_NOT_FOUNDToken key not found.
FAILED(hr)Appropriate error message.
Show: