ExitWindowsEx(EWX_FORCE, 0); // 강제종료
ExitWindowsEx(EWX_LOGOFF, 0); // 로그오프
ExitWindowsEx(EWX_POWEROFF,0); // 셧다운후시스템끄기
ExitWindowsEx(EWX_REBOOT, 0); // 재부팅
ExitWindowsEx(EWX_SHUTDOWN,0); // 셧다운
원본 위치 <http://kurapa.com/content-a1969>
'NativeCode > api' 카테고리의 다른 글
| Hooking (0) | 2010.03.18 |
|---|---|
| 윈도우 핸들 얻기 (0) | 2010.03.18 |
| 모든 API 함수 목록 (0) | 2010.03.18 |
| ShellExecuteEx (0) | 2010.03.18 |
| 콘솔창 생성 (0) | 2010.03.18 |