ISpDataKey::EnumValues

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpDataKey::EnumValues

ISpDataKey::EnumValues enumerates the values of the specified token.


HRESULT EnumValues(
   ULONG     Index, 
   WCHAR   **ppszValueName
);

Parameters

Index
[in] Value indicating which token in the enumeration sequence to locate.
ppszValueName
Address of a pointer to a null-terminated string that receives the enumerated registry key values. This must be freed with CoMemTaskFree() when no longer required.

Return values

Value Description
S_OK Function completed successfully.
E_INVALIDARG ppszValueName is invalid or bad.
SPERR_NOT_FOUND Registry key not found.
E_OUTOFMEMORY Not enough memory to allocate string.
SPERR_NO_MORE_ITEMS No items could be accessed.
FAILED(hr) Appropriate error message.