J
Joseph Byrns
I am using :
RegSetValueEx(hKeySub, value, 0, KeyType.DWord, New Byte() {0}, 1)
on registry value:
System\CurrentControlSet\Control\Power\Timeouts\BattSuspendTimeout
to set the "Turn off device if not used for" field to 0 for the battery to
prevent the PDA going into standby. This function sucessfully changes the
regsitry value to 0 (seen when I look in the eVC++ remote registry editor).
When I go into the Settings on the PDA however (menu Start, Settings...), I
see the setting to be 5 minutes rather than zero???
If I repeat the process, but set the value to 0 using the registry editor
rather than my application everything works fine.
Any ideas?
RegSetValueEx(hKeySub, value, 0, KeyType.DWord, New Byte() {0}, 1)
on registry value:
System\CurrentControlSet\Control\Power\Timeouts\BattSuspendTimeout
to set the "Turn off device if not used for" field to 0 for the battery to
prevent the PDA going into standby. This function sucessfully changes the
regsitry value to 0 (seen when I look in the eVC++ remote registry editor).
When I go into the Settings on the PDA however (menu Start, Settings...), I
see the setting to be 5 minutes rather than zero???
If I repeat the process, but set the value to 0 using the registry editor
rather than my application everything works fine.
Any ideas?