Export (0) Print
Expand All

ISpDataKey::EnumValues (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpDataKey::EnumValues

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


HRESULT EnumValues(
   ULONG      Index,
   LPWSTR   **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 CoTaskMemFree() when no longer required.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGppszValueName is invalid or bad.
SPERR_NOT_FOUNDRegistry key not found.
E_OUTOFMEMORYNot enough memory to allocate string.
SPERR_NO_MORE_ITEMSNo items could be accessed.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft