Suspend / Hibernate / Shutdown

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Justin
Addict
Addict
Posts: 829
Joined: Sat Apr 26, 2003 2:49 pm

Suspend / Hibernate / Shutdown

Post by Justin »

Would be useful to have these functions. In windows seems easy but i haven't tried linux / mac.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Suspend / Hibernate / Shutdown

Post by Mistrel »

This kind of action requires elevated or certain privileges to be assigned to the running account which would require other API calls in the event of unprivileged access. This is better suited for leveraging the given platform's API directly.
Post Reply