Re: Shutting down windows using win32api
- From: "人言落日是天涯,望极天涯不见家" <kelvin.you@xxxxxxxxx>
- Date: 11 Apr 2007 11:51:04 -0700
On Apr 11, 7:49 pm, Tim Golden <m...@xxxxxxxxxxxxxxx> wrote:
On a whim, given the terseness of your post, I
cut-and-pasted your subject line into Google,
added "python" for good measure, and looked at
the results.
I suggest you might do the same. Granted, maybe
this will raise more questions, but at least it
shows willing :)
TJG
use ctypes module to execute the windows api.
Shutdown windows can use the follow api
BOOL ExitWindowsEx(
UINT uFlags,
DWORD dwReason
);
about the usage, u can refer to the microsoft msdn
.
- References:
- Re: Shutting down windows using win32api
- From: Tim Golden
- Re: Shutting down windows using win32api
- Prev by Date: Re: text file vs. cPickle vs sqlite a design question
- Next by Date: Nested dictionaries trouble
- Previous by thread: Re: Shutting down windows using win32api
- Next by thread: Connection problems with irclib
- Index(es):
Relevant Pages
|