Share via


ISpDataKey::DeleteKey (SAPI 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

Value
S_OK
E_INVALIDARG
SPERR_NOT_FOUND
FAILED(hr)