CeSvcEnumProfiles
The CeSvcEnumProfiles function enumerates all the profiles currently stored in the registry.
Syntax
HRESULT CeSvcEnumProfiles (
PHCESVC phSvc,
DWORD lProfileIndex,
PDWORD plProfile
);
Parameters
- phSvc
[out] Reference to a handle to a registry subkey. - lProfileIndex
[in] Specifies an index for the registry subkey. Caller should initialize to 0 for the first registry subkey and increment for each additional subkey. - plProfile
[out] Reference to a device partnership ID.
Return Values
This function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The function completed successfully. - ERROR_NO_MORE_ITEMS
No more profiles can be found.
Remarks
This function is part of Windows CE CEUTIL, a utility DLL for dealing with desktop registry entries for Windows CE. CEUTIL functions are for use by desktop applications that need to communicate remotely with Windows CE–based devices. These functions are not available to applications running on Windows CE–based devices.
Requirements
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: ceutil.h
Library: ceutil.lib
See Also
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.