다음을 통해 공유


CeSvcEnumProfiles (Windows CE 5.0)

Send Feedback

This function enumerates all the profiles currently stored in the registry for a service. It retrieves the partnership identifier and an open handle to the partnership key.

HRESULT CeSvcEnumProfiles( PHCESVC phSvc,DWORD lProfileIndex,PDWORD plProfile);

Parameters

  • phSvc
    [out] Pointer to a handle to the registry subkey.
  • lProfileIndex
    [in] Index for the retrieved subkey. The application calling this function should initialize the index to zero and increment for each additional subkey.
  • plProfile
    [out] Pointer to a device identifier.

Return Values

Returns S_OK if the operation completed successfully. Otherwise, this function returns a Microsoft Win32 error code. In particular, when no more profiles can be found, the function returns ERROR_NO_MORE_ITEMS.

Remarks

This function is part of 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

OS Versions: Windows CE 3.0 and later.
Header: Ceutil.h.
Link Library: Coredll.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.