Hi, in w32api/winbase.h the prototype looks like WINBASEAPI BOOL WINAPI SetSystemPowerState(BOOL,BOOL);
for mobile / ce it should be DWORD SetSystemPowerState(LPCWSTR psState, DWORD StateFlags, DWORD Options); see http://msdn.microsoft.com/en-us/library/aa929708.aspx Cheers Klaus ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel