Re: PowerPolicyNotify breakpoint on Wince-5.0 by shiju
shiju
Tue Jul 10 10:49:21 CDT 2007
Hello,
The below statements are in the the battery driver battdrvr.c in the
public tree.I did more debugging and the GetLastError() returns that
"the service has not been started". But I could find that the pm.dll is
already loaded and running when the breakpoint happens. I searched the
whole wince500 directory to find were PowerPolicyNotify() is defined,
but failed to find.Could someone help me to resolve this problem.
Thanks,
Shiju
shiju wrote:
> Hello,
> On our custom board when the wince boots it keeps on breaking at the
> below statement.
>
> fOk = PowerPolicyNotify(PPN_POWERCHANGE,0);
> DEBUGCHK(fOk);
>
> Could someone help me what might be the problem and how could I resolve it.
>
> Thanks,
> Shiju