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.4
ISpDataKey::CreateKey
ISpDataKey::CreateKey creates a new token subkey. Returns a new object which supports ISpDataKey for the specified subkey. If the key already exists, the function will open the existing key instead of overwriting it.
HRESULT CreateKey(
LPCWSTR *pszSubKeyName,
ISpDataKey **ppSubKey
);
Parameters
- pszSubKeyName
Address of a null-terminated string specifying the name of the key to create. - ppSubKey
Address of a pointer to an ISpDataKey interface.
Return values
| Value |
| S_OK |
| E_INVALIDARG |
| FAILED(hr) |