Re: pythonCE GetSystemPowerState windows api

2009-04-25 Thread lorenzo . mentaschi
On Apr 25, 6:19 pm, Thomas Heller wrote: > lorenzo.mentas...@yahoo.it schrieb: > > > > > Hi all, > > I need to call GetSystemPowerState windows api from pythonCE, because > > I need to know if a windows ce 5 device is in sleep/off status. > > I can find this api in ctypes.windll.coredll, but I can

pythonCE GetSystemPowerState windows api

2009-04-25 Thread lorenzo . mentaschi
Hi all, I need to call GetSystemPowerState windows api from pythonCE, because I need to know if a windows ce 5 device is in sleep/off status. I can find this api in ctypes.windll.coredll, but I cannot figure out how to pass parameters to this procedure: msdn giude ( http://msdn.microsoft.com/en-us/