i'm seeking because cannot find why cannot open disk tray using python2.7 on windows 7 workstation.
i'm using simple code:
import ctypes ctypes.windll.winmm.mcisendstringw("set cdaudio door open",0,0,0)
return value 292
i've checked on microsoft website , erro 292 stand mcierr_missing_device_name.
how can find right device_name make script works ?
thanks in advance, regards,
Comments
Post a Comment