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.
This function is part of CEUTIL, a utility DLL for dealing with desktop registry entries for Windows Embedded CE. CEUTIL functions are for use by desktop applications that need to communicate remotely with Windows Embedded CE–based devices. These functions are not available to applications running on Windows Embedded CE–based devices.