Posted by: Symbian Freak on: February 1, 2009
Header file – centralrepository.h Library – centralrepository.lib CRepository* ptrRepository = CRepository::NewLC( KCRUidProfileEngine ); TInt volume; // Get the ringing volume of the active profile: User::LeaveIfError( ptrRepository->Get( KProEngActiveRingingVolume, volume ) ); CleanupStack:: PopAndDestroy( ptrRepository );