[python-win32] using MCI and related interfaces with pywin32

2005-01-31 Thread david sumner
hi -- Using pywin32, I'm trying to invoke multimedia devices with the MCI (Media Control Interface) API's. These commands do stuff like play video files. The strange thing is, all the relevant commands are defined in mmsystem.py, but the critical core functions used to send commands, such as mci

[python-win32] Re: using MCI and related interfaces with pywin32

2005-02-01 Thread david sumner
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