diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-833BF27D-B288-506A-B545-E748C9FE7AEA.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-833BF27D-B288-506A-B545-E748C9FE7AEA.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,43 @@ + + + + + +Making +a Component Shutdown AwareThis document explains the step by step procedure to make a component +shutdown aware. +

Before you start, you must know:

    +
  • State Aware Session +provides an API that allows clients to manage notification of system state +transitions.

  • +
  • System State transitions +such as Start-up, Normal, Shutdown and Fail.

  • +
+

It is necessary to make a component shutdown aware to delay the +shutdown until the component completes the shutdown related tasks.

Follow +the steps given below to make a component shutdown aware:

+ + +Register for +shutdown notification through RSsmStateAwareSession for +shutdown notification if they need to do save critical or non-critical data +and perform clean-up tasks at the time of shutdown. + + +Managing shutdown to +acknowledge the request and register the component for any state changes and +close the session to free the resources that were used during the Connect(). + + +
+Registering +for Shutdown Notification +Managing +Shutdown +
\ No newline at end of file