Follow-up question.

Why does type-ahead in PythonWin not show more functions after ctypes.windll. ?

Is this because of late-binding???

Message: 3
Date: Mon, 14 Jan 2008 21:29:39 +0200
From: "Graeme Glass" <[EMAIL PROTECTED]>
Subject: Re: [python-win32] Check if user has windows administrator
       privilege
To: "Patrick Li" <[EMAIL PROTECTED]>
Cc: python-win32@python.org
On Jan 14, 2008 8:55 PM, Patrick Li <[EMAIL PROTECTED]> wrote:

import ctypes
print ctypes.windll.shell32.IsUserAnAdmin()

(Courtesy of Thomas Heller - from a posting back in 2006)

I have no idea if it will work on Vista. You will need to try it.

hth,
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to