[python-win32] Re: using MCI and related interfaces with pywin32
david sumner
davesum99 at yahoo.com
Tue Feb 1 05:43:05 CET 2005
On Sun, 30 Jan 2005 12:41:31 -0800 (PST)
marek sez:
>def mci():
> import ctypes
> wm = ctypes.windll.WINMM
> wm.mciSendStringA("Set CDAudio Door Open wait",
0, 0, 0)
> wm.mciSendStringA("Set CDAudio Door Closed wait",
0, 0, 0)
>I used this to open my cdrom tray.
>It uses whe winmm.dll and ctypes (which is always a
>nice thing to have)
thx. ctypes rox!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Python-win32
mailing list