I never programmed a winapi so i have a little problem here .
I need turn off my pc from my application .
I found this example link text the
#include using namespace std; int main(){ system("shutdown -s -f -t 0"); }