Share via


ISpDataKey::EnumKeys (SAPI 5.4)

Microsoft Speech API 5.4

ISpDataKey::EnumKeys

ISpDataKey::EnumKeys enumerates the subkeys of the specified token.

  
    HRESULT EnumKeys(
   ULONG      Index,
   LPWSTR   **ppszSubKeyName
);

Parameters

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

Return values

Value
S_OK
E_INVALIDARG
SPERR_NOT_FOUND
E_OUTOFMEMORY
SPERR_NO_MORE_ITEMS
FAILED(hr)