I don't know how to put system to standby, but for
shutting down the system, you can use PlatformInvoke to
call a windows API - ExitWindowsEx() defined in user32.dll
There must be some api's similar to this in the same
dll....
I don't know how to put system to standby, but for
shutting down the system, you can use PlatformInvoke to
call a windows API - ExitWindowsEx() defined in user32.dll
There must be some api's similar to this in the same
dll....
but u need to get the window's Privilege first before u can invoke this..
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.