T
Tim Johnson
I'm setting the backlight brightness values and screen-dimming timeouts ok,
by setting registry values then using the OpenNETCF CreateEvent and SetEvent
for "SDKBackLightChangeEvent" to make it take effect. Now I need to control
the power-off timeouts too. I have 2 questions:
1. I notice on my AudioVox PocketPC the SystemIdleTimerReset doesn't work.
It seems to be the case that this only works if "GWES is enabled", which I
think means you ONLY have the standard registry entries set in
HKLM/System/CurrentControlSet/Control/Power. If you ALSO have the
.../Control/Power/Timeouts keys set, as my device does, those take precedence
and cause the reset API call to do nothing. And making changes manually in
Settings/Power control panel only affects the Control/Power/Timeouts keys,
not the Control/Power keys. Is this common on many PocketPC devices?
Control/Power:
ExtPowerOff
BattPowerOff
WakeupPowerOff
vs.
Control/Power/Timeouts:
BattSuspendTimeout
ACSuspendTimeout
2. I can set the right registry keys, but what's the equivalent event
message I can send for power-timeout changes to make it take effect, as I do
for brightness changes?
--
Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625
by setting registry values then using the OpenNETCF CreateEvent and SetEvent
for "SDKBackLightChangeEvent" to make it take effect. Now I need to control
the power-off timeouts too. I have 2 questions:
1. I notice on my AudioVox PocketPC the SystemIdleTimerReset doesn't work.
It seems to be the case that this only works if "GWES is enabled", which I
think means you ONLY have the standard registry entries set in
HKLM/System/CurrentControlSet/Control/Power. If you ALSO have the
.../Control/Power/Timeouts keys set, as my device does, those take precedence
and cause the reset API call to do nothing. And making changes manually in
Settings/Power control panel only affects the Control/Power/Timeouts keys,
not the Control/Power keys. Is this common on many PocketPC devices?
Control/Power:
ExtPowerOff
BattPowerOff
WakeupPowerOff
vs.
Control/Power/Timeouts:
BattSuspendTimeout
ACSuspendTimeout
2. I can set the right registry keys, but what's the equivalent event
message I can send for power-timeout changes to make it take effect, as I do
for brightness changes?
--
Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625