How to call functions in Advapi32.dll using ctypes

Podi podi.ex at gmail.com
Mon Apr 10 13:02:59 EDT 2006


> Have you tried calling InitiateSystemShutdownA mentioned in the
> documentation?

Thanks! This function exists. However,
advapi32.InitiateSystemShutdownA("", 'This is a test', 30, 1, 1)
returns 0 though. I will need to play with it a bit more...




More information about the Python-list mailing list