Share via


ISpDataKey::OpenKey (SAPI 5.3)

Microsoft Speech API 5.3

ISpDataKey::OpenKey

ISpDataKey::OpenKey opens a specified token subkey. Passes back a new object that supports ISpDataKey for the specified subkey.

  
    HRESULT OpenKey(
   LPCWSTR       *pszSubKeyName,
ISpDataKey   **ppSubKey
);

Parameters

  • pszSubKeyName
    Address of a null-terminated string specifying the name of the key to open.
  • ppSubKey
    Address of a pointer to an ISpDataKey interface.

Return values

Value
S_OK
E_INVALIDARG
E_POINTER
SPERR_NOT_FOUND
FAILED(hr)