Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
This method enumerates the values of the specified token.
HRESULT EnumValues( ULONG Index, WCHAR** ppszValueName);
Parameters
- Index
[in] Value indicating the token to locate in the enumeration sequence. - ppszValueName
[out] Address of a pointer to a null-terminated string specifying names of the enumerated key values. This must be freed with CoTaskMemFree when no longer required.
Return Values
The following table shows the possible 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. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.idl.
Link Library: Sapilib.lib.
See Also
Send Feedback on this topic to the authors