Article # 47, added by Geoworks, historical record
| first | previous | index | next | last |

What happens to CPU when N9000C's lid get's closed?



Q. How can I receive notification of the lid closing on the Nokia
   9000 Communicator? I want to update a VM file before the CPU
   shuts down.

A. To receive notification that the lid is closed an application
   should register on the GCN list GCNSLT_RESPONDER_NOTIFICATIONS.
   It should watch for MSG_META_NOTIFY with a notificationType of
   GWNT_RESPONDER_NOTIFICATION, manufID of MANUFACTURER_ID_GEOWORKS,
   and data equal to RNT_LID_CLOSED. (ResponderNotificationType is
   defined in CInclude\Internal\respondr.goh)

   When the lid closes, you have 30 seconds before the CPU turns off
   --additionally, the CPU will not turn off until it enters the idle
   loop. As long as your code is executing, the CPU will remain running.