PyXR

c:\python24\lib\site-packages\win32\lib \ mmsystem.py



0001 # Generated by h2py from d:/msdev/include/mmsystem.h
0002 MAXPNAMELEN = 32
0003 MAXERRORLENGTH = 256
0004 MAX_JOYSTICKOEMVXDNAME = 260
0005 MM_MICROSOFT = 1
0006 MM_MIDI_MAPPER = 1
0007 MM_WAVE_MAPPER = 2
0008 MM_SNDBLST_MIDIOUT = 3
0009 MM_SNDBLST_MIDIIN = 4
0010 MM_SNDBLST_SYNTH = 5
0011 MM_SNDBLST_WAVEOUT = 6
0012 MM_SNDBLST_WAVEIN = 7
0013 MM_ADLIB = 9
0014 MM_MPU401_MIDIOUT = 10
0015 MM_MPU401_MIDIIN = 11
0016 MM_PC_JOYSTICK = 12
0017 TIME_MS = 0x0001
0018 TIME_SAMPLES = 0x0002
0019 TIME_BYTES = 0x0004
0020 TIME_SMPTE = 0x0008
0021 TIME_MIDI = 0x0010
0022 TIME_TICKS = 0x0020
0023 MM_JOY1MOVE = 0x3A0
0024 MM_JOY2MOVE = 0x3A1
0025 MM_JOY1ZMOVE = 0x3A2
0026 MM_JOY2ZMOVE = 0x3A3
0027 MM_JOY1BUTTONDOWN = 0x3B5
0028 MM_JOY2BUTTONDOWN = 0x3B6
0029 MM_JOY1BUTTONUP = 0x3B7
0030 MM_JOY2BUTTONUP = 0x3B8
0031 MM_MCINOTIFY = 0x3B9
0032 MM_WOM_OPEN = 0x3BB
0033 MM_WOM_CLOSE = 0x3BC
0034 MM_WOM_DONE = 0x3BD
0035 MM_WIM_OPEN = 0x3BE
0036 MM_WIM_CLOSE = 0x3BF
0037 MM_WIM_DATA = 0x3C0
0038 MM_MIM_OPEN = 0x3C1
0039 MM_MIM_CLOSE = 0x3C2
0040 MM_MIM_DATA = 0x3C3
0041 MM_MIM_LONGDATA = 0x3C4
0042 MM_MIM_ERROR = 0x3C5
0043 MM_MIM_LONGERROR = 0x3C6
0044 MM_MOM_OPEN = 0x3C7
0045 MM_MOM_CLOSE = 0x3C8
0046 MM_MOM_DONE = 0x3C9
0047 MM_STREAM_OPEN = 0x3D4
0048 MM_STREAM_CLOSE = 0x3D5
0049 MM_STREAM_DONE = 0x3D6
0050 MM_STREAM_ERROR = 0x3D7
0051 MM_MOM_POSITIONCB = 0x3CA
0052 MM_MIM_MOREDATA = 0x3CC
0053 MM_MIXM_LINE_CHANGE = 0x3D0
0054 MM_MIXM_CONTROL_CHANGE = 0x3D1
0055 MMSYSERR_BASE = 0
0056 WAVERR_BASE = 32
0057 MIDIERR_BASE = 64
0058 TIMERR_BASE = 96
0059 JOYERR_BASE = 160
0060 MCIERR_BASE = 256
0061 MIXERR_BASE = 1024
0062 MCI_STRING_OFFSET = 512
0063 MCI_VD_OFFSET = 1024
0064 MCI_CD_OFFSET = 1088
0065 MCI_WAVE_OFFSET = 1152
0066 MCI_SEQ_OFFSET = 1216
0067 MMSYSERR_NOERROR = 0
0068 MMSYSERR_ERROR = (MMSYSERR_BASE + 1)
0069 MMSYSERR_BADDEVICEID = (MMSYSERR_BASE + 2)
0070 MMSYSERR_NOTENABLED = (MMSYSERR_BASE + 3)
0071 MMSYSERR_ALLOCATED = (MMSYSERR_BASE + 4)
0072 MMSYSERR_INVALHANDLE = (MMSYSERR_BASE + 5)
0073 MMSYSERR_NODRIVER = (MMSYSERR_BASE + 6)
0074 MMSYSERR_NOMEM = (MMSYSERR_BASE + 7)
0075 MMSYSERR_NOTSUPPORTED = (MMSYSERR_BASE + 8)
0076 MMSYSERR_BADERRNUM = (MMSYSERR_BASE + 9)
0077 MMSYSERR_INVALFLAG = (MMSYSERR_BASE + 10)
0078 MMSYSERR_INVALPARAM = (MMSYSERR_BASE + 11)
0079 MMSYSERR_HANDLEBUSY = (MMSYSERR_BASE + 12)
0080 MMSYSERR_INVALIDALIAS = (MMSYSERR_BASE + 13)
0081 MMSYSERR_BADDB = (MMSYSERR_BASE + 14)
0082 MMSYSERR_KEYNOTFOUND = (MMSYSERR_BASE + 15)
0083 MMSYSERR_READERROR = (MMSYSERR_BASE + 16)
0084 MMSYSERR_WRITEERROR = (MMSYSERR_BASE + 17)
0085 MMSYSERR_DELETEERROR = (MMSYSERR_BASE + 18)
0086 MMSYSERR_VALNOTFOUND = (MMSYSERR_BASE + 19)
0087 MMSYSERR_NODRIVERCB = (MMSYSERR_BASE + 20)
0088 MMSYSERR_LASTERROR = (MMSYSERR_BASE + 20)
0089 DRV_LOAD = 0x0001
0090 DRV_ENABLE = 0x0002
0091 DRV_OPEN = 0x0003
0092 DRV_CLOSE = 0x0004
0093 DRV_DISABLE = 0x0005
0094 DRV_FREE = 0x0006
0095 DRV_CONFIGURE = 0x0007
0096 DRV_QUERYCONFIGURE = 0x0008
0097 DRV_INSTALL = 0x0009
0098 DRV_REMOVE = 0x000A
0099 DRV_EXITSESSION = 0x000B
0100 DRV_POWER = 0x000F
0101 DRV_RESERVED = 0x0800
0102 DRV_USER = 0x4000
0103 DRVCNF_CANCEL = 0x0000
0104 DRVCNF_OK = 0x0001
0105 DRVCNF_RESTART = 0x0002
0106 DRV_CANCEL = DRVCNF_CANCEL
0107 DRV_OK = DRVCNF_OK
0108 DRV_RESTART = DRVCNF_RESTART
0109 DRV_MCI_FIRST = DRV_RESERVED
0110 DRV_MCI_LAST = (DRV_RESERVED + 0xFFF)
0111 CALLBACK_TYPEMASK = 0x00070000l
0112 CALLBACK_NULL = 0x00000000l
0113 CALLBACK_WINDOW = 0x00010000l
0114 CALLBACK_TASK = 0x00020000l
0115 CALLBACK_FUNCTION = 0x00030000l
0116 CALLBACK_THREAD = (CALLBACK_TASK)
0117 CALLBACK_EVENT = 0x00050000l
0118 SND_SYNC = 0x0000
0119 SND_ASYNC = 0x0001
0120 SND_NODEFAULT = 0x0002
0121 SND_MEMORY = 0x0004
0122 SND_LOOP = 0x0008
0123 SND_NOSTOP = 0x0010
0124 SND_NOWAIT = 0x00002000L
0125 SND_ALIAS = 0x00010000L
0126 SND_ALIAS_ID = 0x00110000L
0127 SND_FILENAME = 0x00020000L
0128 SND_RESOURCE = 0x00040004L
0129 SND_PURGE = 0x0040
0130 SND_APPLICATION = 0x0080
0131 SND_ALIAS_START = 0
0132 WAVERR_BADFORMAT = (WAVERR_BASE + 0)
0133 WAVERR_STILLPLAYING = (WAVERR_BASE + 1)
0134 WAVERR_UNPREPARED = (WAVERR_BASE + 2)
0135 WAVERR_SYNC = (WAVERR_BASE + 3)
0136 WAVERR_LASTERROR = (WAVERR_BASE + 3)
0137 WOM_OPEN = MM_WOM_OPEN
0138 WOM_CLOSE = MM_WOM_CLOSE
0139 WOM_DONE = MM_WOM_DONE
0140 WIM_OPEN = MM_WIM_OPEN
0141 WIM_CLOSE = MM_WIM_CLOSE
0142 WIM_DATA = MM_WIM_DATA
0143 WAVE_FORMAT_QUERY = 0x0001
0144 WAVE_ALLOWSYNC = 0x0002
0145 WAVE_MAPPED = 0x0004
0146 WAVE_FORMAT_DIRECT = 0x0008
0147 WAVE_FORMAT_DIRECT_QUERY = (WAVE_FORMAT_QUERY | WAVE_FORMAT_DIRECT)
0148 WHDR_DONE = 0x00000001
0149 WHDR_PREPARED = 0x00000002
0150 WHDR_BEGINLOOP = 0x00000004
0151 WHDR_ENDLOOP = 0x00000008
0152 WHDR_INQUEUE = 0x00000010
0153 WAVECAPS_PITCH = 0x0001
0154 WAVECAPS_PLAYBACKRATE = 0x0002
0155 WAVECAPS_VOLUME = 0x0004
0156 WAVECAPS_LRVOLUME = 0x0008
0157 WAVECAPS_SYNC = 0x0010
0158 WAVECAPS_SAMPLEACCURATE = 0x0020
0159 WAVECAPS_DIRECTSOUND = 0x0040
0160 WAVE_INVALIDFORMAT = 0x00000000
0161 WAVE_FORMAT_1M08 = 0x00000001
0162 WAVE_FORMAT_1S08 = 0x00000002
0163 WAVE_FORMAT_1M16 = 0x00000004
0164 WAVE_FORMAT_1S16 = 0x00000008
0165 WAVE_FORMAT_2M08 = 0x00000010
0166 WAVE_FORMAT_2S08 = 0x00000020
0167 WAVE_FORMAT_2M16 = 0x00000040
0168 WAVE_FORMAT_2S16 = 0x00000080
0169 WAVE_FORMAT_4M08 = 0x00000100
0170 WAVE_FORMAT_4S08 = 0x00000200
0171 WAVE_FORMAT_4M16 = 0x00000400
0172 WAVE_FORMAT_4S16 = 0x00000800
0173 WAVE_FORMAT_PCM = 1
0174 MIDIERR_UNPREPARED = (MIDIERR_BASE + 0)
0175 MIDIERR_STILLPLAYING = (MIDIERR_BASE + 1)
0176 MIDIERR_NOMAP = (MIDIERR_BASE + 2)
0177 MIDIERR_NOTREADY = (MIDIERR_BASE + 3)
0178 MIDIERR_NODEVICE = (MIDIERR_BASE + 4)
0179 MIDIERR_INVALIDSETUP = (MIDIERR_BASE + 5)
0180 MIDIERR_BADOPENMODE = (MIDIERR_BASE + 6)
0181 MIDIERR_DONT_CONTINUE = (MIDIERR_BASE + 7)
0182 MIDIERR_LASTERROR = (MIDIERR_BASE + 7)
0183 MIDIPATCHSIZE = 128
0184 MIM_OPEN = MM_MIM_OPEN
0185 MIM_CLOSE = MM_MIM_CLOSE
0186 MIM_DATA = MM_MIM_DATA
0187 MIM_LONGDATA = MM_MIM_LONGDATA
0188 MIM_ERROR = MM_MIM_ERROR
0189 MIM_LONGERROR = MM_MIM_LONGERROR
0190 MOM_OPEN = MM_MOM_OPEN
0191 MOM_CLOSE = MM_MOM_CLOSE
0192 MOM_DONE = MM_MOM_DONE
0193 MIM_MOREDATA = MM_MIM_MOREDATA
0194 MOM_POSITIONCB = MM_MOM_POSITIONCB
0195 MIDI_IO_STATUS = 0x00000020L
0196 MIDI_CACHE_ALL = 1
0197 MIDI_CACHE_BESTFIT = 2
0198 MIDI_CACHE_QUERY = 3
0199 MIDI_UNCACHE = 4
0200 MOD_MIDIPORT = 1
0201 MOD_SYNTH = 2
0202 MOD_SQSYNTH = 3
0203 MOD_FMSYNTH = 4
0204 MOD_MAPPER = 5
0205 MIDICAPS_VOLUME = 0x0001
0206 MIDICAPS_LRVOLUME = 0x0002
0207 MIDICAPS_CACHE = 0x0004
0208 MIDICAPS_STREAM = 0x0008
0209 MHDR_DONE = 0x00000001
0210 MHDR_PREPARED = 0x00000002
0211 MHDR_INQUEUE = 0x00000004
0212 MHDR_ISSTRM = 0x00000008
0213 MEVT_F_SHORT = 0x00000000L
0214 MEVT_F_LONG = 0x80000000L
0215 MEVT_F_CALLBACK = 0x40000000L
0216 def MEVT_EVENTTYPE(x): return ((BYTE)(((x)>>24)&0xFF))
0217 
0218 def MEVT_EVENTPARM(x): return ((DWORD)((x)&0x00FFFFFFL))
0219 
0220 MIDISTRM_ERROR = (-2)
0221 MIDIPROP_SET = 0x80000000L
0222 MIDIPROP_GET = 0x40000000L
0223 MIDIPROP_TIMEDIV = 0x00000001L
0224 MIDIPROP_TEMPO = 0x00000002L
0225 AUXCAPS_CDAUDIO = 1
0226 AUXCAPS_AUXIN = 2
0227 AUXCAPS_VOLUME = 0x0001
0228 AUXCAPS_LRVOLUME = 0x0002
0229 MIXER_SHORT_NAME_CHARS = 16
0230 MIXER_LONG_NAME_CHARS = 64
0231 MIXERR_INVALLINE = (MIXERR_BASE + 0)
0232 MIXERR_INVALCONTROL = (MIXERR_BASE + 1)
0233 MIXERR_INVALVALUE = (MIXERR_BASE + 2)
0234 MIXERR_LASTERROR = (MIXERR_BASE + 2)
0235 MIXER_OBJECTF_HANDLE = 0x80000000L
0236 MIXER_OBJECTF_MIXER = 0x00000000L
0237 MIXER_OBJECTF_HMIXER = (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIXER)
0238 MIXER_OBJECTF_WAVEOUT = 0x10000000L
0239 MIXER_OBJECTF_HWAVEOUT = (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEOUT)
0240 MIXER_OBJECTF_WAVEIN = 0x20000000L
0241 MIXER_OBJECTF_HWAVEIN = (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEIN)
0242 MIXER_OBJECTF_MIDIOUT = 0x30000000L
0243 MIXER_OBJECTF_HMIDIOUT = (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIOUT)
0244 MIXER_OBJECTF_MIDIIN = 0x40000000L
0245 MIXER_OBJECTF_HMIDIIN = (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIIN)
0246 MIXER_OBJECTF_AUX = 0x50000000L
0247 MIXERLINE_LINEF_ACTIVE = 0x00000001L
0248 MIXERLINE_LINEF_DISCONNECTED = 0x00008000L
0249 MIXERLINE_LINEF_SOURCE = 0x80000000L
0250 MIXERLINE_COMPONENTTYPE_DST_FIRST = 0x00000000L
0251 MIXERLINE_COMPONENTTYPE_DST_UNDEFINED = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 0)
0252 MIXERLINE_COMPONENTTYPE_DST_DIGITAL = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 1)
0253 MIXERLINE_COMPONENTTYPE_DST_LINE = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 2)
0254 MIXERLINE_COMPONENTTYPE_DST_MONITOR = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 3)
0255 MIXERLINE_COMPONENTTYPE_DST_SPEAKERS = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 4)
0256 MIXERLINE_COMPONENTTYPE_DST_HEADPHONES = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 5)
0257 MIXERLINE_COMPONENTTYPE_DST_TELEPHONE = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 6)
0258 MIXERLINE_COMPONENTTYPE_DST_WAVEIN = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 7)
0259 MIXERLINE_COMPONENTTYPE_DST_VOICEIN = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 8)
0260 MIXERLINE_COMPONENTTYPE_DST_LAST = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 8)
0261 MIXERLINE_COMPONENTTYPE_SRC_FIRST = 0x00001000L
0262 MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 0)
0263 MIXERLINE_COMPONENTTYPE_SRC_DIGITAL = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 1)
0264 MIXERLINE_COMPONENTTYPE_SRC_LINE = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 2)
0265 MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 3)
0266 MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 4)
0267 MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 5)
0268 MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 6)
0269 MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 7)
0270 MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 8)
0271 MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 9)
0272 MIXERLINE_COMPONENTTYPE_SRC_ANALOG = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10)
0273 MIXERLINE_COMPONENTTYPE_SRC_LAST = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10)
0274 MIXERLINE_TARGETTYPE_UNDEFINED = 0
0275 MIXERLINE_TARGETTYPE_WAVEOUT = 1
0276 MIXERLINE_TARGETTYPE_WAVEIN = 2
0277 MIXERLINE_TARGETTYPE_MIDIOUT = 3
0278 MIXERLINE_TARGETTYPE_MIDIIN = 4
0279 MIXERLINE_TARGETTYPE_AUX = 5
0280 MIXER_GETLINEINFOF_DESTINATION = 0x00000000L
0281 MIXER_GETLINEINFOF_SOURCE = 0x00000001L
0282 MIXER_GETLINEINFOF_LINEID = 0x00000002L
0283 MIXER_GETLINEINFOF_COMPONENTTYPE = 0x00000003L
0284 MIXER_GETLINEINFOF_TARGETTYPE = 0x00000004L
0285 MIXER_GETLINEINFOF_QUERYMASK = 0x0000000FL
0286 MIXERCONTROL_CONTROLF_UNIFORM = 0x00000001L
0287 MIXERCONTROL_CONTROLF_MULTIPLE = 0x00000002L
0288 MIXERCONTROL_CONTROLF_DISABLED = 0x80000000L
0289 MIXERCONTROL_CT_CLASS_MASK = 0xF0000000L
0290 MIXERCONTROL_CT_CLASS_CUSTOM = 0x00000000L
0291 MIXERCONTROL_CT_CLASS_METER = 0x10000000L
0292 MIXERCONTROL_CT_CLASS_SWITCH = 0x20000000L
0293 MIXERCONTROL_CT_CLASS_NUMBER = 0x30000000L
0294 MIXERCONTROL_CT_CLASS_SLIDER = 0x40000000L
0295 MIXERCONTROL_CT_CLASS_FADER = 0x50000000L
0296 MIXERCONTROL_CT_CLASS_TIME = 0x60000000L
0297 MIXERCONTROL_CT_CLASS_LIST = 0x70000000L
0298 MIXERCONTROL_CT_SUBCLASS_MASK = 0x0F000000L
0299 MIXERCONTROL_CT_SC_SWITCH_BOOLEAN = 0x00000000L
0300 MIXERCONTROL_CT_SC_SWITCH_BUTTON = 0x01000000L
0301 MIXERCONTROL_CT_SC_METER_POLLED = 0x00000000L
0302 MIXERCONTROL_CT_SC_TIME_MICROSECS = 0x00000000L
0303 MIXERCONTROL_CT_SC_TIME_MILLISECS = 0x01000000L
0304 MIXERCONTROL_CT_SC_LIST_SINGLE = 0x00000000L
0305 MIXERCONTROL_CT_SC_LIST_MULTIPLE = 0x01000000L
0306 MIXERCONTROL_CT_UNITS_MASK = 0x00FF0000L
0307 MIXERCONTROL_CT_UNITS_CUSTOM = 0x00000000L
0308 MIXERCONTROL_CT_UNITS_BOOLEAN = 0x00010000L
0309 MIXERCONTROL_CT_UNITS_SIGNED = 0x00020000L
0310 MIXERCONTROL_CT_UNITS_UNSIGNED = 0x00030000L
0311 MIXERCONTROL_CT_UNITS_DECIBELS = 0x00040000L
0312 MIXERCONTROL_CT_UNITS_PERCENT = 0x00050000L
0313 MIXERCONTROL_CONTROLTYPE_CUSTOM = (MIXERCONTROL_CT_CLASS_CUSTOM | MIXERCONTROL_CT_UNITS_CUSTOM)
0314 MIXERCONTROL_CONTROLTYPE_BOOLEANMETER = (MIXERCONTROL_CT_CLASS_METER | MIXERCONTROL_CT_SC_METER_POLLED | MIXERCONTROL_CT_UNITS_BOOLEAN)
0315 MIXERCONTROL_CONTROLTYPE_SIGNEDMETER = (MIXERCONTROL_CT_CLASS_METER | MIXERCONTROL_CT_SC_METER_POLLED | MIXERCONTROL_CT_UNITS_SIGNED)
0316 MIXERCONTROL_CONTROLTYPE_PEAKMETER = (MIXERCONTROL_CONTROLTYPE_SIGNEDMETER + 1)
0317 MIXERCONTROL_CONTROLTYPE_UNSIGNEDMETER = (MIXERCONTROL_CT_CLASS_METER | MIXERCONTROL_CT_SC_METER_POLLED | MIXERCONTROL_CT_UNITS_UNSIGNED)
0318 MIXERCONTROL_CONTROLTYPE_BOOLEAN = (MIXERCONTROL_CT_CLASS_SWITCH | MIXERCONTROL_CT_SC_SWITCH_BOOLEAN | MIXERCONTROL_CT_UNITS_BOOLEAN)
0319 MIXERCONTROL_CONTROLTYPE_ONOFF = (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 1)
0320 MIXERCONTROL_CONTROLTYPE_MUTE = (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 2)
0321 MIXERCONTROL_CONTROLTYPE_MONO = (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 3)
0322 MIXERCONTROL_CONTROLTYPE_LOUDNESS = (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 4)
0323 MIXERCONTROL_CONTROLTYPE_STEREOENH = (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 5)
0324 MIXERCONTROL_CONTROLTYPE_BUTTON = (MIXERCONTROL_CT_CLASS_SWITCH | MIXERCONTROL_CT_SC_SWITCH_BUTTON | MIXERCONTROL_CT_UNITS_BOOLEAN)
0325 MIXERCONTROL_CONTROLTYPE_DECIBELS = (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_DECIBELS)
0326 MIXERCONTROL_CONTROLTYPE_SIGNED = (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_SIGNED)
0327 MIXERCONTROL_CONTROLTYPE_UNSIGNED = (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_UNSIGNED)
0328 MIXERCONTROL_CONTROLTYPE_PERCENT = (MIXERCONTROL_CT_CLASS_NUMBER | MIXERCONTROL_CT_UNITS_PERCENT)
0329 MIXERCONTROL_CONTROLTYPE_SLIDER = (MIXERCONTROL_CT_CLASS_SLIDER | MIXERCONTROL_CT_UNITS_SIGNED)
0330 MIXERCONTROL_CONTROLTYPE_PAN = (MIXERCONTROL_CONTROLTYPE_SLIDER + 1)
0331 MIXERCONTROL_CONTROLTYPE_QSOUNDPAN = (MIXERCONTROL_CONTROLTYPE_SLIDER + 2)
0332 MIXERCONTROL_CONTROLTYPE_FADER = (MIXERCONTROL_CT_CLASS_FADER | MIXERCONTROL_CT_UNITS_UNSIGNED)
0333 MIXERCONTROL_CONTROLTYPE_VOLUME = (MIXERCONTROL_CONTROLTYPE_FADER + 1)
0334 MIXERCONTROL_CONTROLTYPE_BASS = (MIXERCONTROL_CONTROLTYPE_FADER + 2)
0335 MIXERCONTROL_CONTROLTYPE_TREBLE = (MIXERCONTROL_CONTROLTYPE_FADER + 3)
0336 MIXERCONTROL_CONTROLTYPE_EQUALIZER = (MIXERCONTROL_CONTROLTYPE_FADER + 4)
0337 MIXERCONTROL_CONTROLTYPE_SINGLESELECT = (MIXERCONTROL_CT_CLASS_LIST | MIXERCONTROL_CT_SC_LIST_SINGLE | MIXERCONTROL_CT_UNITS_BOOLEAN)
0338 MIXERCONTROL_CONTROLTYPE_MUX = (MIXERCONTROL_CONTROLTYPE_SINGLESELECT + 1)
0339 MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT = (MIXERCONTROL_CT_CLASS_LIST | MIXERCONTROL_CT_SC_LIST_MULTIPLE | MIXERCONTROL_CT_UNITS_BOOLEAN)
0340 MIXERCONTROL_CONTROLTYPE_MIXER = (MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT + 1)
0341 MIXERCONTROL_CONTROLTYPE_MICROTIME = (MIXERCONTROL_CT_CLASS_TIME | MIXERCONTROL_CT_SC_TIME_MICROSECS | MIXERCONTROL_CT_UNITS_UNSIGNED)
0342 MIXERCONTROL_CONTROLTYPE_MILLITIME = (MIXERCONTROL_CT_CLASS_TIME | MIXERCONTROL_CT_SC_TIME_MILLISECS | MIXERCONTROL_CT_UNITS_UNSIGNED)
0343 MIXER_GETLINECONTROLSF_ALL = 0x00000000L
0344 MIXER_GETLINECONTROLSF_ONEBYID = 0x00000001L
0345 MIXER_GETLINECONTROLSF_ONEBYTYPE = 0x00000002L
0346 MIXER_GETLINECONTROLSF_QUERYMASK = 0x0000000FL
0347 MIXER_GETCONTROLDETAILSF_VALUE = 0x00000000L
0348 MIXER_GETCONTROLDETAILSF_LISTTEXT = 0x00000001L
0349 MIXER_GETCONTROLDETAILSF_QUERYMASK = 0x0000000FL
0350 MIXER_SETCONTROLDETAILSF_VALUE = 0x00000000L
0351 MIXER_SETCONTROLDETAILSF_CUSTOM = 0x00000001L
0352 MIXER_SETCONTROLDETAILSF_QUERYMASK = 0x0000000FL
0353 TIMERR_NOERROR = (0)
0354 TIMERR_NOCANDO = (TIMERR_BASE+1)
0355 TIMERR_STRUCT = (TIMERR_BASE+33)
0356 TIME_ONESHOT = 0x0000
0357 TIME_PERIODIC = 0x0001
0358 TIME_CALLBACK_FUNCTION = 0x0000
0359 TIME_CALLBACK_EVENT_SET = 0x0010
0360 TIME_CALLBACK_EVENT_PULSE = 0x0020
0361 JOYERR_NOERROR = (0)
0362 JOYERR_PARMS = (JOYERR_BASE+5)
0363 JOYERR_NOCANDO = (JOYERR_BASE+6)
0364 JOYERR_UNPLUGGED = (JOYERR_BASE+7)
0365 JOY_BUTTON1 = 0x0001
0366 JOY_BUTTON2 = 0x0002
0367 JOY_BUTTON3 = 0x0004
0368 JOY_BUTTON4 = 0x0008
0369 JOY_BUTTON1CHG = 0x0100
0370 JOY_BUTTON2CHG = 0x0200
0371 JOY_BUTTON3CHG = 0x0400
0372 JOY_BUTTON4CHG = 0x0800
0373 JOY_BUTTON5 = 0x00000010l
0374 JOY_BUTTON6 = 0x00000020l
0375 JOY_BUTTON7 = 0x00000040l
0376 JOY_BUTTON8 = 0x00000080l
0377 JOY_BUTTON9 = 0x00000100l
0378 JOY_BUTTON10 = 0x00000200l
0379 JOY_BUTTON11 = 0x00000400l
0380 JOY_BUTTON12 = 0x00000800l
0381 JOY_BUTTON13 = 0x00001000l
0382 JOY_BUTTON14 = 0x00002000l
0383 JOY_BUTTON15 = 0x00004000l
0384 JOY_BUTTON16 = 0x00008000l
0385 JOY_BUTTON17 = 0x00010000l
0386 JOY_BUTTON18 = 0x00020000l
0387 JOY_BUTTON19 = 0x00040000l
0388 JOY_BUTTON20 = 0x00080000l
0389 JOY_BUTTON21 = 0x00100000l
0390 JOY_BUTTON22 = 0x00200000l
0391 JOY_BUTTON23 = 0x00400000l
0392 JOY_BUTTON24 = 0x00800000l
0393 JOY_BUTTON25 = 0x01000000l
0394 JOY_BUTTON26 = 0x02000000l
0395 JOY_BUTTON27 = 0x04000000l
0396 JOY_BUTTON28 = 0x08000000l
0397 JOY_BUTTON29 = 0x10000000l
0398 JOY_BUTTON30 = 0x20000000l
0399 JOY_BUTTON31 = 0x40000000l
0400 JOY_BUTTON32 = 0x80000000l
0401 JOY_POVFORWARD = 0
0402 JOY_POVRIGHT = 9000
0403 JOY_POVBACKWARD = 18000
0404 JOY_POVLEFT = 27000
0405 JOY_RETURNX = 0x00000001l
0406 JOY_RETURNY = 0x00000002l
0407 JOY_RETURNZ = 0x00000004l
0408 JOY_RETURNR = 0x00000008l
0409 JOY_RETURNU = 0x00000010l
0410 JOY_RETURNV = 0x00000020l
0411 JOY_RETURNPOV = 0x00000040l
0412 JOY_RETURNBUTTONS = 0x00000080l
0413 JOY_RETURNRAWDATA = 0x00000100l
0414 JOY_RETURNPOVCTS = 0x00000200l
0415 JOY_RETURNCENTERED = 0x00000400l
0416 JOY_USEDEADZONE = 0x00000800l
0417 JOY_RETURNALL = (JOY_RETURNX | JOY_RETURNY | JOY_RETURNZ | \
0418                                  JOY_RETURNR | JOY_RETURNU | JOY_RETURNV | \
0419                                  JOY_RETURNPOV | JOY_RETURNBUTTONS)
0420 JOY_CAL_READALWAYS = 0x00010000l
0421 JOY_CAL_READXYONLY = 0x00020000l
0422 JOY_CAL_READ3 = 0x00040000l
0423 JOY_CAL_READ4 = 0x00080000l
0424 JOY_CAL_READXONLY = 0x00100000l
0425 JOY_CAL_READYONLY = 0x00200000l
0426 JOY_CAL_READ5 = 0x00400000l
0427 JOY_CAL_READ6 = 0x00800000l
0428 JOY_CAL_READZONLY = 0x01000000l
0429 JOY_CAL_READRONLY = 0x02000000l
0430 JOY_CAL_READUONLY = 0x04000000l
0431 JOY_CAL_READVONLY = 0x08000000l
0432 JOYSTICKID1 = 0
0433 JOYSTICKID2 = 1
0434 JOYCAPS_HASZ = 0x0001
0435 JOYCAPS_HASR = 0x0002
0436 JOYCAPS_HASU = 0x0004
0437 JOYCAPS_HASV = 0x0008
0438 JOYCAPS_HASPOV = 0x0010
0439 JOYCAPS_POV4DIR = 0x0020
0440 JOYCAPS_POVCTS = 0x0040
0441 MMIOERR_BASE = 256
0442 MMIOERR_FILENOTFOUND = (MMIOERR_BASE + 1)
0443 MMIOERR_OUTOFMEMORY = (MMIOERR_BASE + 2)
0444 MMIOERR_CANNOTOPEN = (MMIOERR_BASE + 3)
0445 MMIOERR_CANNOTCLOSE = (MMIOERR_BASE + 4)
0446 MMIOERR_CANNOTREAD = (MMIOERR_BASE + 5)
0447 MMIOERR_CANNOTWRITE = (MMIOERR_BASE + 6)
0448 MMIOERR_CANNOTSEEK = (MMIOERR_BASE + 7)
0449 MMIOERR_CANNOTEXPAND = (MMIOERR_BASE + 8)
0450 MMIOERR_CHUNKNOTFOUND = (MMIOERR_BASE + 9)
0451 MMIOERR_UNBUFFERED = (MMIOERR_BASE + 10)
0452 MMIOERR_PATHNOTFOUND = (MMIOERR_BASE + 11)
0453 MMIOERR_ACCESSDENIED = (MMIOERR_BASE + 12)
0454 MMIOERR_SHARINGVIOLATION = (MMIOERR_BASE + 13)
0455 MMIOERR_NETWORKERROR = (MMIOERR_BASE + 14)
0456 MMIOERR_TOOMANYOPENFILES = (MMIOERR_BASE + 15)
0457 MMIOERR_INVALIDFILE = (MMIOERR_BASE + 16)
0458 CFSEPCHAR = ord('+')
0459 MMIO_RWMODE = 0x00000003
0460 MMIO_SHAREMODE = 0x00000070
0461 MMIO_CREATE = 0x00001000
0462 MMIO_PARSE = 0x00000100
0463 MMIO_DELETE = 0x00000200
0464 MMIO_EXIST = 0x00004000
0465 MMIO_ALLOCBUF = 0x00010000
0466 MMIO_GETTEMP = 0x00020000
0467 MMIO_DIRTY = 0x10000000
0468 MMIO_READ = 0x00000000
0469 MMIO_WRITE = 0x00000001
0470 MMIO_READWRITE = 0x00000002
0471 MMIO_COMPAT = 0x00000000
0472 MMIO_EXCLUSIVE = 0x00000010
0473 MMIO_DENYWRITE = 0x00000020
0474 MMIO_DENYREAD = 0x00000030
0475 MMIO_DENYNONE = 0x00000040
0476 MMIO_FHOPEN = 0x0010
0477 MMIO_EMPTYBUF = 0x0010
0478 MMIO_TOUPPER = 0x0010
0479 MMIO_INSTALLPROC = 0x00010000
0480 MMIO_GLOBALPROC = 0x10000000
0481 MMIO_REMOVEPROC = 0x00020000
0482 MMIO_UNICODEPROC = 0x01000000
0483 MMIO_FINDPROC = 0x00040000
0484 MMIO_FINDCHUNK = 0x0010
0485 MMIO_FINDRIFF = 0x0020
0486 MMIO_FINDLIST = 0x0040
0487 MMIO_CREATERIFF = 0x0020
0488 MMIO_CREATELIST = 0x0040
0489 MMIOM_READ = MMIO_READ
0490 MMIOM_WRITE = MMIO_WRITE
0491 MMIOM_SEEK = 2
0492 MMIOM_OPEN = 3
0493 MMIOM_CLOSE = 4
0494 MMIOM_WRITEFLUSH = 5
0495 MMIOM_RENAME = 6
0496 MMIOM_USER = 0x8000
0497 SEEK_SET = 0
0498 SEEK_CUR = 1
0499 SEEK_END = 2
0500 MMIO_DEFAULTBUFFER = 8192
0501 MCIERR_INVALID_DEVICE_ID = (MCIERR_BASE + 1)
0502 MCIERR_UNRECOGNIZED_KEYWORD = (MCIERR_BASE + 3)
0503 MCIERR_UNRECOGNIZED_COMMAND = (MCIERR_BASE + 5)
0504 MCIERR_HARDWARE = (MCIERR_BASE + 6)
0505 MCIERR_INVALID_DEVICE_NAME = (MCIERR_BASE + 7)
0506 MCIERR_OUT_OF_MEMORY = (MCIERR_BASE + 8)
0507 MCIERR_DEVICE_OPEN = (MCIERR_BASE + 9)
0508 MCIERR_CANNOT_LOAD_DRIVER = (MCIERR_BASE + 10)
0509 MCIERR_MISSING_COMMAND_STRING = (MCIERR_BASE + 11)
0510 MCIERR_PARAM_OVERFLOW = (MCIERR_BASE + 12)
0511 MCIERR_MISSING_STRING_ARGUMENT = (MCIERR_BASE + 13)
0512 MCIERR_BAD_INTEGER = (MCIERR_BASE + 14)
0513 MCIERR_PARSER_INTERNAL = (MCIERR_BASE + 15)
0514 MCIERR_DRIVER_INTERNAL = (MCIERR_BASE + 16)
0515 MCIERR_MISSING_PARAMETER = (MCIERR_BASE + 17)
0516 MCIERR_UNSUPPORTED_FUNCTION = (MCIERR_BASE + 18)
0517 MCIERR_FILE_NOT_FOUND = (MCIERR_BASE + 19)
0518 MCIERR_DEVICE_NOT_READY = (MCIERR_BASE + 20)
0519 MCIERR_INTERNAL = (MCIERR_BASE + 21)
0520 MCIERR_DRIVER = (MCIERR_BASE + 22)
0521 MCIERR_CANNOT_USE_ALL = (MCIERR_BASE + 23)
0522 MCIERR_MULTIPLE = (MCIERR_BASE + 24)
0523 MCIERR_EXTENSION_NOT_FOUND = (MCIERR_BASE + 25)
0524 MCIERR_OUTOFRANGE = (MCIERR_BASE + 26)
0525 MCIERR_FLAGS_NOT_COMPATIBLE = (MCIERR_BASE + 28)
0526 MCIERR_FILE_NOT_SAVED = (MCIERR_BASE + 30)
0527 MCIERR_DEVICE_TYPE_REQUIRED = (MCIERR_BASE + 31)
0528 MCIERR_DEVICE_LOCKED = (MCIERR_BASE + 32)
0529 MCIERR_DUPLICATE_ALIAS = (MCIERR_BASE + 33)
0530 MCIERR_BAD_CONSTANT = (MCIERR_BASE + 34)
0531 MCIERR_MUST_USE_SHAREABLE = (MCIERR_BASE + 35)
0532 MCIERR_MISSING_DEVICE_NAME = (MCIERR_BASE + 36)
0533 MCIERR_BAD_TIME_FORMAT = (MCIERR_BASE + 37)
0534 MCIERR_NO_CLOSING_QUOTE = (MCIERR_BASE + 38)
0535 MCIERR_DUPLICATE_FLAGS = (MCIERR_BASE + 39)
0536 MCIERR_INVALID_FILE = (MCIERR_BASE + 40)
0537 MCIERR_NULL_PARAMETER_BLOCK = (MCIERR_BASE + 41)
0538 MCIERR_UNNAMED_RESOURCE = (MCIERR_BASE + 42)
0539 MCIERR_NEW_REQUIRES_ALIAS = (MCIERR_BASE + 43)
0540 MCIERR_NOTIFY_ON_AUTO_OPEN = (MCIERR_BASE + 44)
0541 MCIERR_NO_ELEMENT_ALLOWED = (MCIERR_BASE + 45)
0542 MCIERR_NONAPPLICABLE_FUNCTION = (MCIERR_BASE + 46)
0543 MCIERR_ILLEGAL_FOR_AUTO_OPEN = (MCIERR_BASE + 47)
0544 MCIERR_FILENAME_REQUIRED = (MCIERR_BASE + 48)
0545 MCIERR_EXTRA_CHARACTERS = (MCIERR_BASE + 49)
0546 MCIERR_DEVICE_NOT_INSTALLED = (MCIERR_BASE + 50)
0547 MCIERR_GET_CD = (MCIERR_BASE + 51)
0548 MCIERR_SET_CD = (MCIERR_BASE + 52)
0549 MCIERR_SET_DRIVE = (MCIERR_BASE + 53)
0550 MCIERR_DEVICE_LENGTH = (MCIERR_BASE + 54)
0551 MCIERR_DEVICE_ORD_LENGTH = (MCIERR_BASE + 55)
0552 MCIERR_NO_INTEGER = (MCIERR_BASE + 56)
0553 MCIERR_WAVE_OUTPUTSINUSE = (MCIERR_BASE + 64)
0554 MCIERR_WAVE_SETOUTPUTINUSE = (MCIERR_BASE + 65)
0555 MCIERR_WAVE_INPUTSINUSE = (MCIERR_BASE + 66)
0556 MCIERR_WAVE_SETINPUTINUSE = (MCIERR_BASE + 67)
0557 MCIERR_WAVE_OUTPUTUNSPECIFIED = (MCIERR_BASE + 68)
0558 MCIERR_WAVE_INPUTUNSPECIFIED = (MCIERR_BASE + 69)
0559 MCIERR_WAVE_OUTPUTSUNSUITABLE = (MCIERR_BASE + 70)
0560 MCIERR_WAVE_SETOUTPUTUNSUITABLE = (MCIERR_BASE + 71)
0561 MCIERR_WAVE_INPUTSUNSUITABLE = (MCIERR_BASE + 72)
0562 MCIERR_WAVE_SETINPUTUNSUITABLE = (MCIERR_BASE + 73)
0563 MCIERR_SEQ_DIV_INCOMPATIBLE = (MCIERR_BASE + 80)
0564 MCIERR_SEQ_PORT_INUSE = (MCIERR_BASE + 81)
0565 MCIERR_SEQ_PORT_NONEXISTENT = (MCIERR_BASE + 82)
0566 MCIERR_SEQ_PORT_MAPNODEVICE = (MCIERR_BASE + 83)
0567 MCIERR_SEQ_PORT_MISCERROR = (MCIERR_BASE + 84)
0568 MCIERR_SEQ_TIMER = (MCIERR_BASE + 85)
0569 MCIERR_SEQ_PORTUNSPECIFIED = (MCIERR_BASE + 86)
0570 MCIERR_SEQ_NOMIDIPRESENT = (MCIERR_BASE + 87)
0571 MCIERR_NO_WINDOW = (MCIERR_BASE + 90)
0572 MCIERR_CREATEWINDOW = (MCIERR_BASE + 91)
0573 MCIERR_FILE_READ = (MCIERR_BASE + 92)
0574 MCIERR_FILE_WRITE = (MCIERR_BASE + 93)
0575 MCIERR_NO_IDENTITY = (MCIERR_BASE + 94)
0576 MCIERR_CUSTOM_DRIVER_BASE = (MCIERR_BASE + 256)
0577 MCI_FIRST = DRV_MCI_FIRST
0578 MCI_OPEN = 0x0803
0579 MCI_CLOSE = 0x0804
0580 MCI_ESCAPE = 0x0805
0581 MCI_PLAY = 0x0806
0582 MCI_SEEK = 0x0807
0583 MCI_STOP = 0x0808
0584 MCI_PAUSE = 0x0809
0585 MCI_INFO = 0x080A
0586 MCI_GETDEVCAPS = 0x080B
0587 MCI_SPIN = 0x080C
0588 MCI_SET = 0x080D
0589 MCI_STEP = 0x080E
0590 MCI_RECORD = 0x080F
0591 MCI_SYSINFO = 0x0810
0592 MCI_BREAK = 0x0811
0593 MCI_SAVE = 0x0813
0594 MCI_STATUS = 0x0814
0595 MCI_CUE = 0x0830
0596 MCI_REALIZE = 0x0840
0597 MCI_WINDOW = 0x0841
0598 MCI_PUT = 0x0842
0599 MCI_WHERE = 0x0843
0600 MCI_FREEZE = 0x0844
0601 MCI_UNFREEZE = 0x0845
0602 MCI_LOAD = 0x0850
0603 MCI_CUT = 0x0851
0604 MCI_COPY = 0x0852
0605 MCI_PASTE = 0x0853
0606 MCI_UPDATE = 0x0854
0607 MCI_RESUME = 0x0855
0608 MCI_DELETE = 0x0856
0609 MCI_USER_MESSAGES = (DRV_MCI_FIRST + 0x400)
0610 MCI_LAST = 0x0FFF
0611 MCI_DEVTYPE_VCR = 513
0612 MCI_DEVTYPE_VIDEODISC = 514
0613 MCI_DEVTYPE_OVERLAY = 515
0614 MCI_DEVTYPE_CD_AUDIO = 516
0615 MCI_DEVTYPE_DAT = 517
0616 MCI_DEVTYPE_SCANNER = 518
0617 MCI_DEVTYPE_ANIMATION = 519
0618 MCI_DEVTYPE_DIGITAL_VIDEO = 520
0619 MCI_DEVTYPE_OTHER = 521
0620 MCI_DEVTYPE_WAVEFORM_AUDIO = 522
0621 MCI_DEVTYPE_SEQUENCER = 523
0622 MCI_DEVTYPE_FIRST = MCI_DEVTYPE_VCR
0623 MCI_DEVTYPE_LAST = MCI_DEVTYPE_SEQUENCER
0624 MCI_DEVTYPE_FIRST_USER = 0x1000
0625 MCI_MODE_NOT_READY = (MCI_STRING_OFFSET + 12)
0626 MCI_MODE_STOP = (MCI_STRING_OFFSET + 13)
0627 MCI_MODE_PLAY = (MCI_STRING_OFFSET + 14)
0628 MCI_MODE_RECORD = (MCI_STRING_OFFSET + 15)
0629 MCI_MODE_SEEK = (MCI_STRING_OFFSET + 16)
0630 MCI_MODE_PAUSE = (MCI_STRING_OFFSET + 17)
0631 MCI_MODE_OPEN = (MCI_STRING_OFFSET + 18)
0632 MCI_FORMAT_MILLISECONDS = 0
0633 MCI_FORMAT_HMS = 1
0634 MCI_FORMAT_MSF = 2
0635 MCI_FORMAT_FRAMES = 3
0636 MCI_FORMAT_SMPTE_24 = 4
0637 MCI_FORMAT_SMPTE_25 = 5
0638 MCI_FORMAT_SMPTE_30 = 6
0639 MCI_FORMAT_SMPTE_30DROP = 7
0640 MCI_FORMAT_BYTES = 8
0641 MCI_FORMAT_SAMPLES = 9
0642 MCI_FORMAT_TMSF = 10
0643 def MCI_MSF_MINUTE(msf): return ((BYTE)(msf))
0644 
0645 def MCI_MSF_SECOND(msf): return ((BYTE)(((WORD)(msf)) >> 8))
0646 
0647 def MCI_MSF_FRAME(msf): return ((BYTE)((msf)>>16))
0648 
0649 def MCI_TMSF_TRACK(tmsf): return ((BYTE)(tmsf))
0650 
0651 def MCI_TMSF_MINUTE(tmsf): return ((BYTE)(((WORD)(tmsf)) >> 8))
0652 
0653 def MCI_TMSF_SECOND(tmsf): return ((BYTE)((tmsf)>>16))
0654 
0655 def MCI_TMSF_FRAME(tmsf): return ((BYTE)((tmsf)>>24))
0656 
0657 def MCI_HMS_HOUR(hms): return ((BYTE)(hms))
0658 
0659 def MCI_HMS_MINUTE(hms): return ((BYTE)(((WORD)(hms)) >> 8))
0660 
0661 def MCI_HMS_SECOND(hms): return ((BYTE)((hms)>>16))
0662 
0663 MCI_NOTIFY_SUCCESSFUL = 0x0001
0664 MCI_NOTIFY_SUPERSEDED = 0x0002
0665 MCI_NOTIFY_ABORTED = 0x0004
0666 MCI_NOTIFY_FAILURE = 0x0008
0667 MCI_NOTIFY = 0x00000001L
0668 MCI_WAIT = 0x00000002L
0669 MCI_FROM = 0x00000004L
0670 MCI_TO = 0x00000008L
0671 MCI_TRACK = 0x00000010L
0672 MCI_OPEN_SHAREABLE = 0x00000100L
0673 MCI_OPEN_ELEMENT = 0x00000200L
0674 MCI_OPEN_ALIAS = 0x00000400L
0675 MCI_OPEN_ELEMENT_ID = 0x00000800L
0676 MCI_OPEN_TYPE_ID = 0x00001000L
0677 MCI_OPEN_TYPE = 0x00002000L
0678 MCI_SEEK_TO_START = 0x00000100L
0679 MCI_SEEK_TO_END = 0x00000200L
0680 MCI_STATUS_ITEM = 0x00000100L
0681 MCI_STATUS_START = 0x00000200L
0682 MCI_STATUS_LENGTH = 0x00000001L
0683 MCI_STATUS_POSITION = 0x00000002L
0684 MCI_STATUS_NUMBER_OF_TRACKS = 0x00000003L
0685 MCI_STATUS_MODE = 0x00000004L
0686 MCI_STATUS_MEDIA_PRESENT = 0x00000005L
0687 MCI_STATUS_TIME_FORMAT = 0x00000006L
0688 MCI_STATUS_READY = 0x00000007L
0689 MCI_STATUS_CURRENT_TRACK = 0x00000008L
0690 MCI_INFO_PRODUCT = 0x00000100L
0691 MCI_INFO_FILE = 0x00000200L
0692 MCI_INFO_MEDIA_UPC = 0x00000400L
0693 MCI_INFO_MEDIA_IDENTITY = 0x00000800L
0694 MCI_INFO_NAME = 0x00001000L
0695 MCI_INFO_COPYRIGHT = 0x00002000L
0696 MCI_GETDEVCAPS_ITEM = 0x00000100L
0697 MCI_GETDEVCAPS_CAN_RECORD = 0x00000001L
0698 MCI_GETDEVCAPS_HAS_AUDIO = 0x00000002L
0699 MCI_GETDEVCAPS_HAS_VIDEO = 0x00000003L
0700 MCI_GETDEVCAPS_DEVICE_TYPE = 0x00000004L
0701 MCI_GETDEVCAPS_USES_FILES = 0x00000005L
0702 MCI_GETDEVCAPS_COMPOUND_DEVICE = 0x00000006L
0703 MCI_GETDEVCAPS_CAN_EJECT = 0x00000007L
0704 MCI_GETDEVCAPS_CAN_PLAY = 0x00000008L
0705 MCI_GETDEVCAPS_CAN_SAVE = 0x00000009L
0706 MCI_SYSINFO_QUANTITY = 0x00000100L
0707 MCI_SYSINFO_OPEN = 0x00000200L
0708 MCI_SYSINFO_NAME = 0x00000400L
0709 MCI_SYSINFO_INSTALLNAME = 0x00000800L
0710 MCI_SET_DOOR_OPEN = 0x00000100L
0711 MCI_SET_DOOR_CLOSED = 0x00000200L
0712 MCI_SET_TIME_FORMAT = 0x00000400L
0713 MCI_SET_AUDIO = 0x00000800L
0714 MCI_SET_VIDEO = 0x00001000L
0715 MCI_SET_ON = 0x00002000L
0716 MCI_SET_OFF = 0x00004000L
0717 MCI_SET_AUDIO_ALL = 0x00000000L
0718 MCI_SET_AUDIO_LEFT = 0x00000001L
0719 MCI_SET_AUDIO_RIGHT = 0x00000002L
0720 MCI_BREAK_KEY = 0x00000100L
0721 MCI_BREAK_HWND = 0x00000200L
0722 MCI_BREAK_OFF = 0x00000400L
0723 MCI_RECORD_INSERT = 0x00000100L
0724 MCI_RECORD_OVERWRITE = 0x00000200L
0725 MCI_SAVE_FILE = 0x00000100L
0726 MCI_LOAD_FILE = 0x00000100L
0727 MCI_VD_MODE_PARK = (MCI_VD_OFFSET + 1)
0728 MCI_VD_MEDIA_CLV = (MCI_VD_OFFSET + 2)
0729 MCI_VD_MEDIA_CAV = (MCI_VD_OFFSET + 3)
0730 MCI_VD_MEDIA_OTHER = (MCI_VD_OFFSET + 4)
0731 MCI_VD_FORMAT_TRACK = 0x4001
0732 MCI_VD_PLAY_REVERSE = 0x00010000L
0733 MCI_VD_PLAY_FAST = 0x00020000L
0734 MCI_VD_PLAY_SPEED = 0x00040000L
0735 MCI_VD_PLAY_SCAN = 0x00080000L
0736 MCI_VD_PLAY_SLOW = 0x00100000L
0737 MCI_VD_SEEK_REVERSE = 0x00010000L
0738 MCI_VD_STATUS_SPEED = 0x00004002L
0739 MCI_VD_STATUS_FORWARD = 0x00004003L
0740 MCI_VD_STATUS_MEDIA_TYPE = 0x00004004L
0741 MCI_VD_STATUS_SIDE = 0x00004005L
0742 MCI_VD_STATUS_DISC_SIZE = 0x00004006L
0743 MCI_VD_GETDEVCAPS_CLV = 0x00010000L
0744 MCI_VD_GETDEVCAPS_CAV = 0x00020000L
0745 MCI_VD_SPIN_UP = 0x00010000L
0746 MCI_VD_SPIN_DOWN = 0x00020000L
0747 MCI_VD_GETDEVCAPS_CAN_REVERSE = 0x00004002L
0748 MCI_VD_GETDEVCAPS_FAST_RATE = 0x00004003L
0749 MCI_VD_GETDEVCAPS_SLOW_RATE = 0x00004004L
0750 MCI_VD_GETDEVCAPS_NORMAL_RATE = 0x00004005L
0751 MCI_VD_STEP_FRAMES = 0x00010000L
0752 MCI_VD_STEP_REVERSE = 0x00020000L
0753 MCI_VD_ESCAPE_STRING = 0x00000100L
0754 MCI_CDA_STATUS_TYPE_TRACK = 0x00004001L
0755 MCI_CDA_TRACK_AUDIO = (MCI_CD_OFFSET + 0)
0756 MCI_CDA_TRACK_OTHER = (MCI_CD_OFFSET + 1)
0757 MCI_WAVE_PCM = (MCI_WAVE_OFFSET + 0)
0758 MCI_WAVE_MAPPER = (MCI_WAVE_OFFSET + 1)
0759 MCI_WAVE_OPEN_BUFFER = 0x00010000L
0760 MCI_WAVE_SET_FORMATTAG = 0x00010000L
0761 MCI_WAVE_SET_CHANNELS = 0x00020000L
0762 MCI_WAVE_SET_SAMPLESPERSEC = 0x00040000L
0763 MCI_WAVE_SET_AVGBYTESPERSEC = 0x00080000L
0764 MCI_WAVE_SET_BLOCKALIGN = 0x00100000L
0765 MCI_WAVE_SET_BITSPERSAMPLE = 0x00200000L
0766 MCI_WAVE_INPUT = 0x00400000L
0767 MCI_WAVE_OUTPUT = 0x00800000L
0768 MCI_WAVE_STATUS_FORMATTAG = 0x00004001L
0769 MCI_WAVE_STATUS_CHANNELS = 0x00004002L
0770 MCI_WAVE_STATUS_SAMPLESPERSEC = 0x00004003L
0771 MCI_WAVE_STATUS_AVGBYTESPERSEC = 0x00004004L
0772 MCI_WAVE_STATUS_BLOCKALIGN = 0x00004005L
0773 MCI_WAVE_STATUS_BITSPERSAMPLE = 0x00004006L
0774 MCI_WAVE_STATUS_LEVEL = 0x00004007L
0775 MCI_WAVE_SET_ANYINPUT = 0x04000000L
0776 MCI_WAVE_SET_ANYOUTPUT = 0x08000000L
0777 MCI_WAVE_GETDEVCAPS_INPUTS = 0x00004001L
0778 MCI_WAVE_GETDEVCAPS_OUTPUTS = 0x00004002L
0779 MCI_SEQ_DIV_PPQN = (0 + MCI_SEQ_OFFSET)
0780 MCI_SEQ_DIV_SMPTE_24 = (1 + MCI_SEQ_OFFSET)
0781 MCI_SEQ_DIV_SMPTE_25 = (2 + MCI_SEQ_OFFSET)
0782 MCI_SEQ_DIV_SMPTE_30DROP = (3 + MCI_SEQ_OFFSET)
0783 MCI_SEQ_DIV_SMPTE_30 = (4 + MCI_SEQ_OFFSET)
0784 MCI_SEQ_FORMAT_SONGPTR = 0x4001
0785 MCI_SEQ_FILE = 0x4002
0786 MCI_SEQ_MIDI = 0x4003
0787 MCI_SEQ_SMPTE = 0x4004
0788 MCI_SEQ_NONE = 65533
0789 MCI_SEQ_MAPPER = 65535
0790 MCI_SEQ_STATUS_TEMPO = 0x00004002L
0791 MCI_SEQ_STATUS_PORT = 0x00004003L
0792 MCI_SEQ_STATUS_SLAVE = 0x00004007L
0793 MCI_SEQ_STATUS_MASTER = 0x00004008L
0794 MCI_SEQ_STATUS_OFFSET = 0x00004009L
0795 MCI_SEQ_STATUS_DIVTYPE = 0x0000400AL
0796 MCI_SEQ_STATUS_NAME = 0x0000400BL
0797 MCI_SEQ_STATUS_COPYRIGHT = 0x0000400CL
0798 MCI_SEQ_SET_TEMPO = 0x00010000L
0799 MCI_SEQ_SET_PORT = 0x00020000L
0800 MCI_SEQ_SET_SLAVE = 0x00040000L
0801 MCI_SEQ_SET_MASTER = 0x00080000L
0802 MCI_SEQ_SET_OFFSET = 0x01000000L
0803 MCI_ANIM_OPEN_WS = 0x00010000L
0804 MCI_ANIM_OPEN_PARENT = 0x00020000L
0805 MCI_ANIM_OPEN_NOSTATIC = 0x00040000L
0806 MCI_ANIM_PLAY_SPEED = 0x00010000L
0807 MCI_ANIM_PLAY_REVERSE = 0x00020000L
0808 MCI_ANIM_PLAY_FAST = 0x00040000L
0809 MCI_ANIM_PLAY_SLOW = 0x00080000L
0810 MCI_ANIM_PLAY_SCAN = 0x00100000L
0811 MCI_ANIM_STEP_REVERSE = 0x00010000L
0812 MCI_ANIM_STEP_FRAMES = 0x00020000L
0813 MCI_ANIM_STATUS_SPEED = 0x00004001L
0814 MCI_ANIM_STATUS_FORWARD = 0x00004002L
0815 MCI_ANIM_STATUS_HWND = 0x00004003L
0816 MCI_ANIM_STATUS_HPAL = 0x00004004L
0817 MCI_ANIM_STATUS_STRETCH = 0x00004005L
0818 MCI_ANIM_INFO_TEXT = 0x00010000L
0819 MCI_ANIM_GETDEVCAPS_CAN_REVERSE = 0x00004001L
0820 MCI_ANIM_GETDEVCAPS_FAST_RATE = 0x00004002L
0821 MCI_ANIM_GETDEVCAPS_SLOW_RATE = 0x00004003L
0822 MCI_ANIM_GETDEVCAPS_NORMAL_RATE = 0x00004004L
0823 MCI_ANIM_GETDEVCAPS_PALETTES = 0x00004006L
0824 MCI_ANIM_GETDEVCAPS_CAN_STRETCH = 0x00004007L
0825 MCI_ANIM_GETDEVCAPS_MAX_WINDOWS = 0x00004008L
0826 MCI_ANIM_REALIZE_NORM = 0x00010000L
0827 MCI_ANIM_REALIZE_BKGD = 0x00020000L
0828 MCI_ANIM_WINDOW_HWND = 0x00010000L
0829 MCI_ANIM_WINDOW_STATE = 0x00040000L
0830 MCI_ANIM_WINDOW_TEXT = 0x00080000L
0831 MCI_ANIM_WINDOW_ENABLE_STRETCH = 0x00100000L
0832 MCI_ANIM_WINDOW_DISABLE_STRETCH = 0x00200000L
0833 MCI_ANIM_WINDOW_DEFAULT = 0x00000000L
0834 MCI_ANIM_RECT = 0x00010000L
0835 MCI_ANIM_PUT_SOURCE = 0x00020000L
0836 MCI_ANIM_PUT_DESTINATION = 0x00040000L
0837 MCI_ANIM_WHERE_SOURCE = 0x00020000L
0838 MCI_ANIM_WHERE_DESTINATION = 0x00040000L
0839 MCI_ANIM_UPDATE_HDC = 0x00020000L
0840 MCI_OVLY_OPEN_WS = 0x00010000L
0841 MCI_OVLY_OPEN_PARENT = 0x00020000L
0842 MCI_OVLY_STATUS_HWND = 0x00004001L
0843 MCI_OVLY_STATUS_STRETCH = 0x00004002L
0844 MCI_OVLY_INFO_TEXT = 0x00010000L
0845 MCI_OVLY_GETDEVCAPS_CAN_STRETCH = 0x00004001L
0846 MCI_OVLY_GETDEVCAPS_CAN_FREEZE = 0x00004002L
0847 MCI_OVLY_GETDEVCAPS_MAX_WINDOWS = 0x00004003L
0848 MCI_OVLY_WINDOW_HWND = 0x00010000L
0849 MCI_OVLY_WINDOW_STATE = 0x00040000L
0850 MCI_OVLY_WINDOW_TEXT = 0x00080000L
0851 MCI_OVLY_WINDOW_ENABLE_STRETCH = 0x00100000L
0852 MCI_OVLY_WINDOW_DISABLE_STRETCH = 0x00200000L
0853 MCI_OVLY_WINDOW_DEFAULT = 0x00000000L
0854 MCI_OVLY_RECT = 0x00010000L
0855 MCI_OVLY_PUT_SOURCE = 0x00020000L
0856 MCI_OVLY_PUT_DESTINATION = 0x00040000L
0857 MCI_OVLY_PUT_FRAME = 0x00080000L
0858 MCI_OVLY_PUT_VIDEO = 0x00100000L
0859 MCI_OVLY_WHERE_SOURCE = 0x00020000L
0860 MCI_OVLY_WHERE_DESTINATION = 0x00040000L
0861 MCI_OVLY_WHERE_FRAME = 0x00080000L
0862 MCI_OVLY_WHERE_VIDEO = 0x00100000L
0863 SELECTDIB = 41
0864 def DIBINDEX(n): return MAKELONG((n),0x10FF)
0865 
0866 

Generated by PyXR 0.9.4
SourceForge.net Logo