diff -r 25a3fbb5e4d3 -r 1cc4c46c2963 secsrv_plat/keyguard_access_api/inc/keyguardaccessapi.h --- a/secsrv_plat/keyguard_access_api/inc/keyguardaccessapi.h Fri Sep 17 08:35:02 2010 +0300 +++ b/secsrv_plat/keyguard_access_api/inc/keyguardaccessapi.h Mon Oct 04 01:41:57 2010 +0300 @@ -77,6 +77,7 @@ * @return KErrNone if succeeded * KErrAlreadyExists if already enabled * KErrPermissionDenied if devicelock is activated + * Other errors */ IMPORT_C TInt EnableKeyguard( TBool aWithNote ); @@ -86,6 +87,7 @@ * @return KErrNone if succeeded * KErrAlreadyExists if already disabled * KErrPermissionDenied if devicelock is activated + * Other errors */ IMPORT_C TInt DisableKeyguard( TBool aWithNote ); @@ -93,14 +95,17 @@ * Offer to enable keyguard. Shows a query note to user. * @return KErrNone if succeeded * KErrPermissionDenied if keyguard/devicelock already activated + * KErrCancel if user replies "No" + * Other errors */ IMPORT_C TInt OfferKeyguard(); /** * Shows note informing that keys are locked. * Only works if keyguard is already enabled. - * @return KErrNone if succeeded ' + * @return KErrNone if succeeded * KErrPermissionDenied if keyguard is not activated + * Other errors */ IMPORT_C TInt ShowKeysLockedNote();