none
PowerPolicyNotify() is not functioning for suspend.... RRS feed

  • Question

  • Hi All,

    After porting powerbutton driver from WHH 6.5 to Win CE 7.0,Suspend is not functional.

    For suspend,we are calling below one Power management function :

    PowerPolicyNotify(PPN_SUSPENDKEYPRESSED, 0)

    PowerPolicyNotify(PPN_SUSPENDKEYRELEASED, 0)

    So, We tried to confiigure the priority of above thread by adding below entry in powerbutton.reg file but actually it didn't work :

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]

    "SystemPriority256"=dword:F8      ; 248 - THREAD_PRIORITY_TIME_CRITICAL

    If anyone can please suggest,why PowerPolicyNotify() is not working on WinCE 7.0 or what else needs to be done?

    Thanks in advance,

    Elizaa

    Friday, May 24, 2013 4:51 AM

All replies