Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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) |