GetSystemPowerStatusEx

  • Thread starter Thread starter Justin Marshall
  • Start date Start date
J

Justin Marshall

Hi all,

I am trying to get GetSystemPowerStatusEx or GetSystemPowerStatusEx2 working
on my Symbol 2846.

Using VB.Net, I can read the values perfectly from the emulator but when I
put the same program on the 2846, all of the values return zeroes.

The return value from GetSystemPowerStatusEx on the emulator is True but
False on the 2846.
The return value from GetSystemPowerStatusEx2 is zero (no errors) on both
the emulator and the 2846 but the Symbol still returns zeroes for all
values.

Is anybody able to shed any light on my problem?

Thanks in advance,
Justin.
 
Thanks again to Tim Wilson. His reply to my other question regarding setting
the system time solved this one as well (making the DLLImport function
shared).
Won't get caught by that again (hopefully ;)

Regards, Justin.
 
Back
Top