' ------------------------------------------------------------------------ ' ' MMCONST.TXT -- Windows 3.1 Multimedia Constant Declarations for Visual Basic ' ' Copyright (C) 1992 Desaware ' ' You have a royalty-free right to use, modify, reproduce and distribute ' this file (and/or any modified version) in any way you find useful, ' provided that you agree that Desaware and Ziff-Davis Press has no ' warranty, obligation or liability for its contents. ' Refer to the Ziff-Davis Visual Basic Programmer's Guide to the ' Windows API for further information. ' '**************************************************************************** ' ' General constants and data types ' '****************************************************************************/ '' general constants Global Const MAXPNAMELEN = 32 ' max product name length (including NULL) Global Const MAXERRORLENGTH = 128 ' max error text length (including NULL) '' types for wType field in MMTIME struct Global Const TIME_MS = &H0001 ' time in milliseconds */ Global Const TIME_SAMPLES = &H0002 ' number of wave samples */ Global Const TIME_BYTES = &H0004 ' current byte offset Global Const TIME_SMPTE = &H0008 ' SMPTE time Global Const TIME_MIDI = &H0010 ' MIDI time '**************************************************************************** ' '' Multimedia Extensions Window Messages ' '****************************************************************************/ Global Const MM_JOY1MOVE = &H3A0 ' joystick Global Const MM_JOY2MOVE = &H3A1 Global Const MM_JOY1ZMOVE = &H3A2 Global Const MM_JOY2ZMOVE = &H3A3 Global Const MM_JOY1BUTTONDOWN = &H3B5 Global Const MM_JOY2BUTTONDOWN = &H3B6 Global Const MM_JOY1BUTTONUP = &H3B7 Global Const MM_JOY2BUTTONUP = &H3B8 Global Const MM_MCINOTIFY = &H3B9 ' MCI Global Const MM_WOM_OPEN = &H3BB ' waveform output Global Const MM_WOM_CLOSE = &H3BC Global Const MM_WOM_DONE = &H3BD Global Const MM_WIM_OPEN = &H3BE ' waveform input Global Const MM_WIM_CLOSE = &H3BF Global Const MM_WIM_DATA = &H3C0 Global Const MM_MIM_OPEN = &H3C1 ' MIDI input Global Const MM_MIM_CLOSE = &H3C2 Global Const MM_MIM_DATA = &H3C3 Global Const MM_MIM_LONGDATA = &H3C4 Global Const MM_MIM_ERROR = &H3C5 Global Const MM_MIM_LONGERROR = &H3C6 Global Const MM_MOM_OPEN = &H3C7 ' MIDI output Global Const MM_MOM_CLOSE = &H3C8 Global Const MM_MOM_DONE = &H3C9 '**************************************************************************** ' '' String resource number bases (internal use) ' '****************************************************************************/ Global Const MMSYSERR_BASE = 0 Global Const WAVERR_BASE = 32 Global Const MIDIERR_BASE = 64 Global Const TIMERR_BASE = 96 Global Const JOYERR_BASE = 160 Global Const MCIERR_BASE = 256 Global Const MCI_STRING_OFFSET = 512 Global Const MCI_VD_OFFSET = 1024 Global Const MCI_CD_OFFSET = 1088 Global Const MCI_WAVE_OFFSET = 1152 Global Const MCI_SEQ_OFFSET = 1216 '**************************************************************************** ' '' General error return values ' '****************************************************************************/ Global Const MMSYSERR_NOERROR = 0 ' no error Global Const MMSYSERR_ERROR = (MMSYSERR_BASE + 1) ' unspecified error Global Const MMSYSERR_BADDEVICEID = (MMSYSERR_BASE + 2) ' device ID out of range Global Const MMSYSERR_NOTENABLED = (MMSYSERR_BASE + 3) ' driver failed enable Global Const MMSYSERR_ALLOCATED = (MMSYSERR_BASE + 4) ' device already allocated Global Const MMSYSERR_INVALHANDLE = (MMSYSERR_BASE + 5) ' device handle is invalid Global Const MMSYSERR_NODRIVER = (MMSYSERR_BASE + 6) ' no device driver present Global Const MMSYSERR_NOMEM = (MMSYSERR_BASE + 7) ' memory allocation error Global Const MMSYSERR_NOTSUPPORTED =(MMSYSERR_BASE + 8) ' function isn't supported Global Const MMSYSERR_BADERRNUM = (MMSYSERR_BASE + 9) ' error value out of range Global Const MMSYSERR_INVALFLAG = (MMSYSERR_BASE + 10) 'invalid flag passed Global Const MMSYSERR_INVALPARAM = (MMSYSERR_BASE + 11) ' invalid parameter passed Global Const MMSYSERR_LASTERROR = (MMSYSERR_BASE + 11) ' last error in range '**************************************************************************** ' '' Installable driver support ' '****************************************************************************/ ' return values from DriverProc() function Global Const DRV_CANCEL = &H0000 Global Const DRV_OK = &H0001 Global Const DRV_RESTART = &H0002 ' Driver messages Global Const DRV_LOAD = &H0001 Global Const DRV_ENABLE = &H0002 Global Const DRV_OPEN = &H0003 Global Const DRV_CLOSE = &H0004 Global Const DRV_DISABLE = &H0005 Global Const DRV_FREE = &H0006 Global Const DRV_CONFIGURE = &H0007 Global Const DRV_QUERYCONFIGURE = &H0008 Global Const DRV_INSTALL = &H0009 Global Const DRV_REMOVE = &H000A Global Const DRV_RESERVED = &H0800 Global Const DRV_USER = &H4000 '**************************************************************************** ' '' Driver callback support ' '****************************************************************************/ ' flags used with waveOutOpen(), waveInOpen(), midiInOpen(), and ' midiOutOpen() to specify the type of the dwCallback parameter. Global Const CALLBACK_TYPEMASK = &H00070000& ' callback type mask Global Const CALLBACK_NULL = &H00000000& ' no callback Global Const CALLBACK_WINDOW = &H00010000& ' dwCallback is a HWND Global Const CALLBACK_TASK = &H00020000& ' dwCallback is a HTASK Global Const CALLBACK_FUNCTION = &H00030000& ' dwCallback is a FARPROC ' driver callback prototypes '**************************************************************************** ' '' Manufacturer and product IDs ' ' Used with wMid and wPid fields in WAVEOUTCAPS, WAVEINCAPS, ' MIDIOUTCAPS, MIDIINCAPS, AUXCAPS, JOYCAPS structures. ' '****************************************************************************/ ' manufacturer IDs Global Const MM_MICROSOFT = 1 ' Microsoft Corp. ' product IDs Global Const MM_MIDI_MAPPER = 1 ' MIDI Mapper Global Const MM_WAVE_MAPPER = 2 ' Wave Mapper Global Const MM_SNDBLST_MIDIOUT = 3 ' Sound Blaster MIDI output port Global Const MM_SNDBLST_MIDIIN = 4 ' Sound Blaster MIDI input port Global Const MM_SNDBLST_SYNTH = 5 ' Sound Blaster internal synthesizer Global Const MM_SNDBLST_WAVEOUT = 6 ' Sound Blaster waveform output Global Const MM_SNDBLST_WAVEIN = 7 ' Sound Blaster waveform input Global Const MM_ADLIB = 9 ' Ad Lib-compatible synthesizer Global Const MM_MPU401_MIDIOUT = 10 ' MPU401-compatible MIDI output port Global Const MM_MPU401_MIDIIN = 11 ' MPU401-compatible MIDI input port Global Const MM_PC_JOYSTICK = 12 ' Joystick adapter '**************************************************************************** ' '' Sound support ' '****************************************************************************/ ' flag values for wFlags parameter Global Const SND_SYNC = &H0000 ' play synchronously (default) Global Const SND_ASYNC = &H0001 ' play asynchronously Global Const SND_NODEFAULT = &H0002 ' don't use default sound Global Const SND_MEMORY = &H0004 ' lpszSoundName points to a memory file Global Const SND_LOOP = &H0008 ' loop the sound until next sndPlaySound Global Const SND_NOSTOP = &H0010 ' don't stop any currently playing sound */ '**************************************************************************** ' '' Waveform audio support ' '****************************************************************************/ ' waveform audio error return values Global Const WAVERR_BADFORMAT = (WAVERR_BASE + 0) ' unsupported wave format Global Const WAVERR_STILLPLAYING = (WAVERR_BASE + 1) ' still something playing Global Const WAVERR_UNPREPARED = (WAVERR_BASE + 2) ' header not prepared Global Const WAVERR_SYNC = (WAVERR_BASE + 3) ' device is synchronous Global Const WAVERR_LASTERROR = (WAVERR_BASE + 3) ' last error in range ' wave callback messages Global Const WOM_OPEN = MM_WOM_OPEN Global Const WOM_CLOSE = MM_WOM_CLOSE Global Const WOM_DONE = MM_WOM_DONE Global Const WIM_OPEN = MM_WIM_OPEN Global Const WIM_CLOSE = MM_WIM_CLOSE Global Const WIM_DATA = MM_WIM_DATA ' device ID for wave device mapper Global Const WAVE_MAPPER = (-1) ' flags for dwFlags parameter in waveOutOpen() and waveInOpen() Global Const WAVE_FORMAT_QUERY = &H0001 Global Const WAVE_ALLOWSYNC = &H0002 ' flags for dwFlags field of WAVEHDR Global Const WHDR_DONE = &H00000001 ' done bit Global Const WHDR_PREPARED = &H00000002 ' set if this header has been prepared Global Const WHDR_BEGINLOOP = &H00000004 ' loop start block Global Const WHDR_ENDLOOP = &H00000008 ' loop end block Global Const WHDR_INQUEUE = &H00000010 ' reserved for driver ' flags for dwSupport field of WAVEOUTCAPS Global Const WAVECAPS_PITCH = &H0001 ' supports pitch control Global Const WAVECAPS_PLAYBACKRATE = &H0002 ' supports playback rate control Global Const WAVECAPS_VOLUME = &H0004 ' supports volume control Global Const WAVECAPS_LRVOLUME = &H0008 ' separate left-right volume control Global Const WAVECAPS_SYNC = &H0010 ' defines for dwFormat field of WAVEINCAPS and WAVEOUTCAPS Global Const WAVE_INVALIDFORMAT = &H00000000& ' invalid format Global Const WAVE_FORMAT_1M08 = &H00000001& ' 11.025 kHz, Mono, 8-bit Global Const WAVE_FORMAT_1S08 = &H00000002& ' 11.025 kHz, Stereo, 8-bit Global Const WAVE_FORMAT_1M16 = &H00000004& ' 11.025 kHz, Mono, 16-bit Global Const WAVE_FORMAT_1S16 = &H00000008& ' 11.025 kHz, Stereo, 16-bit Global Const WAVE_FORMAT_2M08 = &H00000010& ' 22.05 kHz, Mono, 8-bit Global Const WAVE_FORMAT_2S08 = &H00000020& ' 22.05 kHz, Stereo, 8-bit Global Const WAVE_FORMAT_2M16 = &H00000040& ' 22.05 kHz, Mono, 16-bit Global Const WAVE_FORMAT_2S16 = &H00000080& ' 22.05 kHz, Stereo, 16-bit Global Const WAVE_FORMAT_4M08 = &H00000100& ' 44.1 kHz, Mono, 8-bit Global Const WAVE_FORMAT_4S08 = &H00000200& ' 44.1 kHz, Stereo, 8-bit Global Const WAVE_FORMAT_4M16 = &H00000400& ' 44.1 kHz, Mono, 16-bit Global Const WAVE_FORMAT_4S16 = &H00000800& ' 44.1 kHz, Stereo, 16-bit ' flags for wFormatTag field of WAVEFORMAT Global Const WAVE_FORMAT_PCM = 1 '**************************************************************************** ' '' MIDI audio support ' '****************************************************************************/ ' MIDI error return values Global Const MIDIERR_UNPREPARED = (MIDIERR_BASE + 0) ' header not prepared Global Const MIDIERR_STILLPLAYING = (MIDIERR_BASE + 1) ' still something playing Global Const MIDIERR_NOMAP = (MIDIERR_BASE + 2) ' no current map Global Const MIDIERR_NOTREADY = (MIDIERR_BASE + 3) ' hardware is still busy Global Const MIDIERR_NODEVICE = (MIDIERR_BASE + 4) ' port no longer connected Global Const MIDIERR_INVALIDSETUP = (MIDIERR_BASE + 5) ' invalid setup Global Const MIDIERR_LASTERROR = (MIDIERR_BASE + 5) ' last error in range ' MIDI audio data types Global Const MIDIPATCHSIZE = 128 ' MIDI callback messages Global Const MIM_OPEN = MM_MIM_OPEN Global Const MIM_CLOSE = MM_MIM_CLOSE Global Const MIM_DATA = MM_MIM_DATA Global Const MIM_LONGDATA = MM_MIM_LONGDATA Global Const MIM_ERROR = MM_MIM_ERROR Global Const MIM_LONGERROR = MM_MIM_LONGERROR Global Const MOM_OPEN = MM_MOM_OPEN Global Const MOM_CLOSE = MM_MOM_CLOSE Global Const MOM_DONE = MM_MOM_DONE ' device ID for MIDI mapper Global Const MIDIMAPPER = (-1) Global Const MIDI_MAPPER = (-1) ' flags for wFlags parm of midiOutCachePatches(), midiOutCacheDrumPatches() Global Const MIDI_CACHE_ALL = 1 Global Const MIDI_CACHE_BESTFIT = 2 Global Const MIDI_CACHE_QUERY = 3 Global Const MIDI_UNCACHE = 4 ' flags for wTechnology field of MIDIOUTCAPS structure Global Const MOD_MIDIPORT = 1 ' output port Global Const MOD_SYNTH = 2 ' generic internal synth Global Const MOD_SQSYNTH = 3 ' square wave internal synth Global Const MOD_FMSYNTH = 4 ' FM internal synth Global Const MOD_MAPPER = 5 ' MIDI mapper ' flags for dwSupport field of MIDIOUTCAPS structure Global Const MIDICAPS_VOLUME = &H0001 ' supports volume control Global Const MIDICAPS_LRVOLUME = &H0002 ' separate left-right volume control Global Const MIDICAPS_CACHE = &H0004 ' flags for dwFlags field of MIDIHDR structure Global Const MHDR_DONE = &H00000001 ' done bit Global Const MHDR_PREPARED = &H00000002 ' set if header prepared Global Const MHDR_INQUEUE = &H00000004 ' reserved for driver '**************************************************************************** ' '' Auxiliary audio support ' '****************************************************************************/ ' device ID for aux device mapper Global Const AUX_MAPPER = (-1) ' flags for wTechnology field in AUXCAPS structure Global Const AUXCAPS_CDAUDIO = 1 ' audio from internal CD-ROM drive Global Const AUXCAPS_AUXIN = 2 ' audio from auxiliary input jacks ' flags for dwSupport field in AUXCAPS structure Global Const AUXCAPS_VOLUME = &H0001 ' supports volume control Global Const AUXCAPS_LRVOLUME = &H0002 ' separate left-right volume control '**************************************************************************** ' '' Timer support ' '****************************************************************************/ ' timer error return values Global Const TIMERR_NOERROR = (0) ' no error Global Const TIMERR_NOCANDO = (TIMERR_BASE+1) ' request not completed Global Const TIMERR_STRUCT = (TIMERR_BASE+33) ' time struct size ' flags for wFlags parameter of timeSetEvent() function Global Const TIME_ONESHOT = 0 ' program timer for single event Global Const TIME_PERIODIC = 1 ' program for continuous periodic event '**************************************************************************** ' '' Joystick support ' '****************************************************************************/ ' joystick error return values Global Const JOYERR_NOERROR = (0) ' no error Global Const JOYERR_PARMS = (JOYERR_BASE+5) ' bad parameters Global Const JOYERR_NOCANDO = (JOYERR_BASE+6) ' request not completed Global Const JOYERR_UNPLUGGED = (JOYERR_BASE+7) ' joystick is unplugged ' constants used with JOYINFO structure and MM_JOY* messages Global Const JOY_BUTTON1 = &H0001 Global Const JOY_BUTTON2 = &H0002 Global Const JOY_BUTTON3 = &H0004 Global Const JOY_BUTTON4 = &H0008 Global Const JOY_BUTTON1CHG = &H0100 Global Const JOY_BUTTON2CHG = &H0200 Global Const JOY_BUTTON3CHG = &H0400 Global Const JOY_BUTTON4CHG = &H0800 ' joystick ID constants Global Const JOYSTICKID1 = 0 Global Const JOYSTICKID2 = 1 '**************************************************************************** ' '' Multimedia File I/O support ' '****************************************************************************/ ' MMIO error return values Global Const MMIOERR_BASE = 256 Global Const MMIOERR_FILENOTFOUND = (MMIOERR_BASE + 1) ' file not found Global Const MMIOERR_OUTOFMEMORY = (MMIOERR_BASE + 2) ' out of memory Global Const MMIOERR_CANNOTOPEN = (MMIOERR_BASE + 3) ' cannot open Global Const MMIOERR_CANNOTCLOSE = (MMIOERR_BASE + 4) ' cannot close Global Const MMIOERR_CANNOTREAD = (MMIOERR_BASE + 5) ' cannot read Global Const MMIOERR_CANNOTWRITE = (MMIOERR_BASE + 6) ' cannot write Global Const MMIOERR_CANNOTSEEK = (MMIOERR_BASE + 7) ' cannot seek Global Const MMIOERR_CANNOTEXPAND = (MMIOERR_BASE + 8) ' cannot expand file Global Const MMIOERR_CHUNKNOTFOUND = (MMIOERR_BASE + 9) ' chunk not found Global Const MMIOERR_UNBUFFERED = (MMIOERR_BASE + 10) ' file is unbuffered ' MMIO constants Global Const CFSEPCHAR = &H2B ' compound file name separator char. ' bit field masks Global Const MMIO_RWMODE = &H00000003 ' open file for reading/writing/both Global Const MMIO_SHAREMODE = &H00000070 ' file sharing mode number ' constants for dwFlags field of MMIOINFO Global Const MMIO_CREATE = &H00001000 ' create new file (or truncate file) Global Const MMIO_PARSE = &H00000100 ' parse new file returning path Global Const MMIO_DELETE = &H00000200 ' create new file (or truncate file) Global Const MMIO_EXIST = &H00004000 ' checks for existence of file Global Const MMIO_ALLOCBUF = &H00010000 ' mmioOpen() should allocate a buffer Global Const MMIO_GETTEMP = &H00020000 ' mmioOpen() should retrieve temp name Global Const MMIO_DIRTY = &H10000000 ' I/O buffer is dirty ' read/write mode numbers (bit field MMIO_RWMODE) Global Const MMIO_READ = &H00000000 ' open file for reading only Global Const MMIO_WRITE = &H00000001 ' open file for writing only Global Const MMIO_READWRITE = &H00000002 ' open file for reading and writing ' share mode numbers (bit field MMIO_SHAREMODE) Global Const MMIO_COMPAT = &H00000000 ' compatibility mode Global Const MMIO_EXCLUSIVE = &H00000010 ' exclusive-access mode Global Const MMIO_DENYWRITE = &H00000020 ' deny writing to other processes Global Const MMIO_DENYREAD = &H00000030 ' deny reading to other processes Global Const MMIO_DENYNONE = &H00000040 ' deny nothing to other processes ' various MMIO flags Global Const MMIO_FHOPEN = &H0010 ' mmioClose: keep file handle open Global Const MMIO_EMPTYBUF = &H0010 ' mmioFlush: empty the I/O buffer Global Const MMIO_TOUPPER = &H0010 ' mmioStringToFOURCC: to u-case Global Const MMIO_INSTALLPROC = &H00010000 ' mmioInstallIOProc: install MMIOProc Global Const MMIO_GLOBALPROC = &H10000000 ' mmioInstallIOProc: install globally Global Const MMIO_REMOVEPROC = &H00020000 ' mmioInstallIOProc: remove MMIOProc Global Const MMIO_FINDPROC = &H00040000 ' mmioInstallIOProc: find an MMIOProc Global Const MMIO_FINDCHUNK = &H0010 ' mmioDescend: find a chunk by ID Global Const MMIO_FINDRIFF = &H0020 ' mmioDescend: find a LIST chunk Global Const MMIO_FINDLIST = &H0040 ' mmioDescend: find a RIFF chunk Global Const MMIO_CREATERIFF = &H0020 ' mmioCreateChunk: make a LIST chunk Global Const MMIO_CREATELIST = &H0040 ' mmioCreateChunk: make a RIFF chunk ' message numbers for MMIOPROC I/O procedure functions Global Const MMIOM_READ = MMIO_READ ' read Global Const MMIOM_WRITE = MMIO_WRITE ' write Global Const MMIOM_SEEK = 2 ' seek to a new position in file Global Const MMIOM_OPEN = 3 ' open file Global Const MMIOM_CLOSE = 4 ' close file Global Const MMIOM_WRITEFLUSH = 5 ' write and flush Global Const MMIOM_RENAME = 6 ' rename specified file Global Const MMIOM_USER = &H8000 ' beginning of user-defined messages ' standard four character codes Global Const FOURCC_RIFF = &H46464952& ' mmioFOURCC('R', 'I', 'F', 'F') Global Const FOURCC_LIST = &H5453494C& ' mmioFOURCC('L', 'I', 'S', 'T') ' four character codes used to identify standard built-in I/O procedures Global Const FOURCC_DOS = &H20534F44& ' mmioFOURCC('D', 'O', 'S', ' ') Global Const FOURCC_MEM = &H204D454D& ' mmioFOURCC('M', 'E', 'M', ' ') ' flags for mmioSeek() Global Const SEEK_SET = 0 ' seek to an absolute position Global Const SEEK_CUR = 1 ' seek relative to current position Global Const SEEK_END = 2 ' seek relative to end of file ' other constants Global Const MMIO_DEFAULTBUFFER = 8192 ' default buffer size ' MCI error return values Global Const MCIERR_INVALID_DEVICE_ID = (MCIERR_BASE + 1) Global Const MCIERR_UNRECOGNIZED_KEYWORD = (MCIERR_BASE + 3) Global Const MCIERR_UNRECOGNIZED_COMMAND = (MCIERR_BASE + 5) Global Const MCIERR_HARDWARE = (MCIERR_BASE + 6) Global Const MCIERR_INVALID_DEVICE_NAME = (MCIERR_BASE + 7) Global Const MCIERR_OUT_OF_MEMORY = (MCIERR_BASE + 8) Global Const MCIERR_DEVICE_OPEN = (MCIERR_BASE + 9) Global Const MCIERR_CANNOT_LOAD_DRIVER = (MCIERR_BASE + 10) Global Const MCIERR_MISSING_COMMAND_STRING = (MCIERR_BASE + 11) Global Const MCIERR_PARAM_OVERFLOW = (MCIERR_BASE + 12) Global Const MCIERR_MISSING_STRING_ARGUMENT = (MCIERR_BASE + 13) Global Const MCIERR_BAD_INTEGER = (MCIERR_BASE + 14) Global Const MCIERR_PARSER_INTERNAL = (MCIERR_BASE + 15) Global Const MCIERR_DRIVER_INTERNAL = (MCIERR_BASE + 16) Global Const MCIERR_MISSING_PARAMETER = (MCIERR_BASE + 17) Global Const MCIERR_UNSUPPORTED_FUNCTION = (MCIERR_BASE + 18) Global Const MCIERR_FILE_NOT_FOUND = (MCIERR_BASE + 19) Global Const MCIERR_DEVICE_NOT_READY = (MCIERR_BASE + 20) Global Const MCIERR_INTERNAL = (MCIERR_BASE + 21) Global Const MCIERR_DRIVER = (MCIERR_BASE + 22) Global Const MCIERR_CANNOT_USE_ALL = (MCIERR_BASE + 23) Global Const MCIERR_MULTIPLE = (MCIERR_BASE + 24) Global Const MCIERR_EXTENSION_NOT_FOUND = (MCIERR_BASE + 25) Global Const MCIERR_OUTOFRANGE = (MCIERR_BASE + 26) Global Const MCIERR_FLAGS_NOT_COMPATIBLE = (MCIERR_BASE + 28) Global Const MCIERR_FILE_NOT_SAVED = (MCIERR_BASE + 30) Global Const MCIERR_DEVICE_TYPE_REQUIRED = (MCIERR_BASE + 31) Global Const MCIERR_DEVICE_LOCKED = (MCIERR_BASE + 32) Global Const MCIERR_DUPLICATE_ALIAS = (MCIERR_BASE + 33) Global Const MCIERR_BAD_CONSTANT = (MCIERR_BASE + 34) Global Const MCIERR_MUST_USE_SHAREABLE = (MCIERR_BASE + 35) Global Const MCIERR_MISSING_DEVICE_NAME = (MCIERR_BASE + 36) Global Const MCIERR_BAD_TIME_FORMAT = (MCIERR_BASE + 37) Global Const MCIERR_NO_CLOSING_QUOTE = (MCIERR_BASE + 38) Global Const MCIERR_DUPLICATE_FLAGS = (MCIERR_BASE + 39) Global Const MCIERR_INVALID_FILE = (MCIERR_BASE + 40) Global Const MCIERR_NULL_PARAMETER_BLOCK = (MCIERR_BASE + 41) Global Const MCIERR_UNNAMED_RESOURCE = (MCIERR_BASE + 42) Global Const MCIERR_NEW_REQUIRES_ALIAS = (MCIERR_BASE + 43) Global Const MCIERR_NOTIFY_ON_AUTO_OPEN = (MCIERR_BASE + 44) Global Const MCIERR_NO_ELEMENT_ALLOWED = (MCIERR_BASE + 45) Global Const MCIERR_NONAPPLICABLE_FUNCTION = (MCIERR_BASE + 46) Global Const MCIERR_ILLEGAL_FOR_AUTO_OPEN = (MCIERR_BASE + 47) Global Const MCIERR_FILENAME_REQUIRED = (MCIERR_BASE + 48) Global Const MCIERR_EXTRA_CHARACTERS = (MCIERR_BASE + 49) Global Const MCIERR_DEVICE_NOT_INSTALLED = (MCIERR_BASE + 50) Global Const MCIERR_GET_CD = (MCIERR_BASE + 51) Global Const MCIERR_SET_CD = (MCIERR_BASE + 52) Global Const MCIERR_SET_DRIVE = (MCIERR_BASE + 53) Global Const MCIERR_DEVICE_LENGTH = (MCIERR_BASE + 54) Global Const MCIERR_DEVICE_ORD_LENGTH = (MCIERR_BASE + 55) Global Const MCIERR_NO_INTEGER = (MCIERR_BASE + 56) Global Const MCIERR_WAVE_OUTPUTSINUSE = (MCIERR_BASE + 64) Global Const MCIERR_WAVE_SETOUTPUTINUSE = (MCIERR_BASE + 65) Global Const MCIERR_WAVE_INPUTSINUSE = (MCIERR_BASE + 66) Global Const MCIERR_WAVE_SETINPUTINUSE = (MCIERR_BASE + 67) Global Const MCIERR_WAVE_OUTPUTUNSPECIFIED = (MCIERR_BASE + 68) Global Const MCIERR_WAVE_INPUTUNSPECIFIED = (MCIERR_BASE + 69) Global Const MCIERR_WAVE_OUTPUTSUNSUITABLE = (MCIERR_BASE + 70) Global Const MCIERR_WAVE_SETOUTPUTUNSUITABLE =(MCIERR_BASE + 71) Global Const MCIERR_WAVE_INPUTSUNSUITABLE = (MCIERR_BASE + 72) Global Const MCIERR_WAVE_SETINPUTUNSUITABLE = (MCIERR_BASE + 73) Global Const MCIERR_SEQ_DIV_INCOMPATIBLE = (MCIERR_BASE + 80) Global Const MCIERR_SEQ_PORT_INUSE = (MCIERR_BASE + 81) Global Const MCIERR_SEQ_PORT_NONEXISTENT = (MCIERR_BASE + 82) Global Const MCIERR_SEQ_PORT_MAPNODEVICE = (MCIERR_BASE + 83) Global Const MCIERR_SEQ_PORT_MISCERROR = (MCIERR_BASE + 84) Global Const MCIERR_SEQ_TIMER = (MCIERR_BASE + 85) Global Const MCIERR_SEQ_PORTUNSPECIFIED = (MCIERR_BASE + 86) Global Const MCIERR_SEQ_NOMIDIPRESENT = (MCIERR_BASE + 87) Global Const MCIERR_NO_WINDOW = (MCIERR_BASE + 90) Global Const MCIERR_CREATEWINDOW = (MCIERR_BASE + 91) Global Const MCIERR_FILE_READ = (MCIERR_BASE + 92) Global Const MCIERR_FILE_WRITE = (MCIERR_BASE + 93) ' all custom device driver errors must be >= than this value Global Const MCIERR_CUSTOM_DRIVER_BASE = (MCIERR_BASE + 256) ' MCI command message identifiers Global Const MCI_OPEN = &H0803 Global Const MCI_CLOSE = &H0804 Global Const MCI_ESCAPE = &H0805 Global Const MCI_PLAY = &H0806 Global Const MCI_SEEK = &H0807 Global Const MCI_STOP = &H0808 Global Const MCI_PAUSE = &H0809 Global Const MCI_INFO = &H080A Global Const MCI_GETDEVCAPS = &H080B Global Const MCI_SPIN = &H080C Global Const MCI_SET = &H080D Global Const MCI_STEP = &H080E Global Const MCI_RECORD = &H080F Global Const MCI_SYSINFO = &H0810 Global Const MCI_BREAK = &H0811 Global Const MCI_SOUND = &H0812 Global Const MCI_SAVE = &H0813 Global Const MCI_STATUS = &H0814 Global Const MCI_CUE = &H0830 Global Const MCI_REALIZE = &H0840 Global Const MCI_WINDOW = &H0841 Global Const MCI_PUT = &H0842 Global Const MCI_WHERE = &H0843 Global Const MCI_FREEZE = &H0844 Global Const MCI_UNFREEZE = &H0845 Global Const MCI_LOAD = &H0850 Global Const MCI_CUT = &H0851 Global Const MCI_COPY = &H0852 Global Const MCI_PASTE = &H0853 Global Const MCI_UPDATE = &H0854 Global Const MCI_RESUME = &H0855 Global Const MCI_DELETE = &H0856 ' all custom MCI command messages must be >= than this value Global Const MCI_USER_MESSAGES = (&H400 + DRV_MCI_FIRST) ' device ID for "all devices" Global Const MCI_ALL_DEVICE_ID = &HFFFF ' constants for predefined MCI device types Global Const MCI_DEVTYPE_VCR = (MCI_STRING_OFFSET + 1) Global Const MCI_DEVTYPE_VIDEODISC = (MCI_STRING_OFFSET + 2) Global Const MCI_DEVTYPE_OVERLAY = (MCI_STRING_OFFSET + 3) Global Const MCI_DEVTYPE_CD_AUDIO = (MCI_STRING_OFFSET + 4) Global Const MCI_DEVTYPE_DAT = (MCI_STRING_OFFSET + 5) Global Const MCI_DEVTYPE_SCANNER = (MCI_STRING_OFFSET + 6) Global Const MCI_DEVTYPE_ANIMATION = (MCI_STRING_OFFSET + 7) Global Const MCI_DEVTYPE_DIGITAL_VIDEO = (MCI_STRING_OFFSET + 8) Global Const MCI_DEVTYPE_OTHER = (MCI_STRING_OFFSET + 9) Global Const MCI_DEVTYPE_WAVEFORM_AUDIO = (MCI_STRING_OFFSET + 10) Global Const MCI_DEVTYPE_SEQUENCER = (MCI_STRING_OFFSET + 11) Global Const MCI_DEVTYPE_FIRST = MCI_DEVTYPE_VCR Global Const MCI_DEVTYPE_LAST = MCI_DEVTYPE_SEQUENCER ' return values for 'status mode' command Global Const MCI_MODE_NOT_READY = (MCI_STRING_OFFSET + 12) Global Const MCI_MODE_STOP = (MCI_STRING_OFFSET + 13) Global Const MCI_MODE_PLAY = (MCI_STRING_OFFSET + 14) Global Const MCI_MODE_RECORD = (MCI_STRING_OFFSET + 15) Global Const MCI_MODE_SEEK = (MCI_STRING_OFFSET + 16) Global Const MCI_MODE_PAUSE = (MCI_STRING_OFFSET + 17) Global Const MCI_MODE_OPEN = (MCI_STRING_OFFSET + 18) ' constants used in 'set time format' and 'status time format' commands Global Const MCI_FORMAT_MILLISECONDS = 0 Global Const MCI_FORMAT_HMS = 1 Global Const MCI_FORMAT_MSF = 2 Global Const MCI_FORMAT_FRAMES = 3 Global Const MCI_FORMAT_SMPTE_24 = 4 Global Const MCI_FORMAT_SMPTE_25 = 5 Global Const MCI_FORMAT_SMPTE_30 = 6 Global Const MCI_FORMAT_SMPTE_30DROP = 7 Global Const MCI_FORMAT_BYTES = 8 Global Const MCI_FORMAT_SAMPLES = 9 Global Const MCI_FORMAT_TMSF = 10 ' MCI time format conversion macros ' flags for wParam of MM_MCINOTIFY message Global Const MCI_NOTIFY_SUCCESSFUL = &H0001 Global Const MCI_NOTIFY_SUPERSEDED = &H0002 Global Const MCI_NOTIFY_ABORTED = &H0004 Global Const MCI_NOTIFY_FAILURE = &H0008 ' common flags for dwFlags parameter of MCI command messages Global Const MCI_NOTIFY = &H00000001& Global Const MCI_WAIT = &H00000002& Global Const MCI_FROM = &H00000004& Global Const MCI_TO = &H00000008& Global Const MCI_TRACK = &H00000010& ' flags for dwFlags parameter of MCI_OPEN command message Global Const MCI_OPEN_SHAREABLE = &H00000100& Global Const MCI_OPEN_ELEMENT = &H00000200& Global Const MCI_OPEN_ALIAS = &H00000400& Global Const MCI_OPEN_ELEMENT_ID = &H00000800& Global Const MCI_OPEN_TYPE_ID = &H00001000& Global Const MCI_OPEN_TYPE = &H00002000& ' flags for dwFlags parameter of MCI_SEEK command message Global Const MCI_SEEK_TO_START = &H00000100& Global Const MCI_SEEK_TO_END = &H00000200& ' flags for dwFlags parameter of MCI_STATUS command message Global Const MCI_STATUS_ITEM = &H00000100& Global Const MCI_STATUS_START = &H00000200& ' flags for dwItem field of the MCI_STATUS_PARMS parameter block Global Const MCI_STATUS_LENGTH = &H00000001& Global Const MCI_STATUS_POSITION = &H00000002& Global Const MCI_STATUS_NUMBER_OF_TRACKS = &H00000003& Global Const MCI_STATUS_MODE = &H00000004& Global Const MCI_STATUS_MEDIA_PRESENT = &H00000005& Global Const MCI_STATUS_TIME_FORMAT = &H00000006& Global Const MCI_STATUS_READY = &H00000007& Global Const MCI_STATUS_CURRENT_TRACK = &H00000008& ' flags for dwFlags parameter of MCI_INFO command message Global Const MCI_INFO_PRODUCT = &H00000100& Global Const MCI_INFO_FILE = &H00000200& ' flags for dwFlags parameter of MCI_GETDEVCAPS command message Global Const MCI_GETDEVCAPS_ITEM = &H00000100& ' flags for dwItem field of the MCI_GETDEVCAPS_PARMS parameter block Global Const MCI_GETDEVCAPS_CAN_RECORD = &H00000001& Global Const MCI_GETDEVCAPS_HAS_AUDIO = &H00000002& Global Const MCI_GETDEVCAPS_HAS_VIDEO = &H00000003& Global Const MCI_GETDEVCAPS_DEVICE_TYPE = &H00000004& Global Const MCI_GETDEVCAPS_USES_FILES = &H00000005& Global Const MCI_GETDEVCAPS_COMPOUND_DEVICE = &H00000006& Global Const MCI_GETDEVCAPS_CAN_EJECT = &H00000007& Global Const MCI_GETDEVCAPS_CAN_PLAY = &H00000008& Global Const MCI_GETDEVCAPS_CAN_SAVE = &H00000009& ' flags for dwFlags parameter of MCI_SYSINFO command message Global Const MCI_SYSINFO_QUANTITY = &H00000100& Global Const MCI_SYSINFO_OPEN = &H00000200& Global Const MCI_SYSINFO_NAME = &H00000400& Global Const MCI_SYSINFO_INSTALLNAME = &H00000800& ' flags for dwFlags parameter of MCI_SET command message Global Const MCI_SET_DOOR_OPEN = &H00000100& Global Const MCI_SET_DOOR_CLOSED = &H00000200& Global Const MCI_SET_TIME_FORMAT = &H00000400& Global Const MCI_SET_AUDIO = &H00000800& Global Const MCI_SET_VIDEO = &H00001000& Global Const MCI_SET_ON = &H00002000& Global Const MCI_SET_OFF = &H00004000& ' flags for dwAudio field of MCI_SET_PARMS or MCI_SEQ_SET_PARMS Global Const MCI_SET_AUDIO_ALL = &H00000000& Global Const MCI_SET_AUDIO_LEFT = &H00000001& Global Const MCI_SET_AUDIO_RIGHT = &H00000002& ' flags for dwFlags parameter of MCI_BREAK command message Global Const MCI_BREAK_KEY = &H00000100& Global Const MCI_BREAK_HWND = &H00000200& Global Const MCI_BREAK_OFF = &H00000400& ' flags for dwFlags parameter of MCI_RECORD command message Global Const MCI_RECORD_INSERT = &H00000100& Global Const MCI_RECORD_OVERWRITE = &H00000200& ' flags for dwFlags parameter of MCI_SOUND command message Global Const MCI_SOUND_NAME = &H00000100& ' flags for dwFlags parameter of MCI_SAVE command message Global Const MCI_SAVE_FILE = &H00000100& ' flags for dwFlags parameter of MCI_LOAD command message Global Const MCI_LOAD_FILE = &H00000100& ' MCI extensions for videodisc devices ' flag for dwReturn field of MCI_STATUS_PARMS ' MCI_STATUS command, (dwItem = MCI_STATUS_MODE) Global Const MCI_VD_MODE_PARK = (MCI_VD_OFFSET + 1) ' flag for dwReturn field of MCI_STATUS_PARMS ' MCI_STATUS command, (dwItem = MCI_VD_STATUS_MEDIA_TYPE) Global Const MCI_VD_MEDIA_CLV = (MCI_VD_OFFSET + 2) Global Const MCI_VD_MEDIA_CAV = (MCI_VD_OFFSET + 3) Global Const MCI_VD_MEDIA_OTHER = (MCI_VD_OFFSET + 4) Global Const MCI_VD_FORMAT_TRACK = &H4001 ' flags for dwFlags parameter of MCI_PLAY command message Global Const MCI_VD_PLAY_REVERSE = &H00010000& Global Const MCI_VD_PLAY_FAST = &H00020000& Global Const MCI_VD_PLAY_SPEED = &H00040000& Global Const MCI_VD_PLAY_SCAN = &H00080000& Global Const MCI_VD_PLAY_SLOW = &H00100000& ' flag for dwFlags parameter of MCI_SEEK command message Global Const MCI_VD_SEEK_REVERSE = &H00010000& ' flags for dwItem field of MCI_STATUS_PARMS parameter block Global Const MCI_VD_STATUS_SPEED = &H00004002& Global Const MCI_VD_STATUS_FORWARD = &H00004003& Global Const MCI_VD_STATUS_MEDIA_TYPE = &H00004004& Global Const MCI_VD_STATUS_SIDE = &H00004005& Global Const MCI_VD_STATUS_DISC_SIZE = &H00004006& ' flags for dwFlags parameter of MCI_GETDEVCAPS command message Global Const MCI_VD_GETDEVCAPS_CLV = &H00010000& Global Const MCI_VD_GETDEVCAPS_CAV = &H00020000& Global Const MCI_VD_SPIN_UP = &H00010000& Global Const MCI_VD_SPIN_DOWN = &H00020000& ' flags for dwItem field of MCI_GETDEVCAPS_PARMS parameter block Global Const MCI_VD_GETDEVCAPS_CAN_REVERSE = &H00004002& Global Const MCI_VD_GETDEVCAPS_FAST_RATE = &H00004003& Global Const MCI_VD_GETDEVCAPS_SLOW_RATE = &H00004004& Global Const MCI_VD_GETDEVCAPS_NORMAL_RATE = &H00004005& ' flags for the dwFlags parameter of MCI_STEP command message Global Const MCI_VD_STEP_FRAMES = &H00010000& Global Const MCI_VD_STEP_REVERSE = &H00020000& ' flag for the MCI_ESCAPE command message Global Const MCI_VD_ESCAPE_STRING = &H00000100& ' MCI extensions for waveform audio devices ' flags for the dwFlags parameter of MCI_OPEN command message Global Const MCI_WAVE_OPEN_BUFFER = &H00010000& ' flags for the dwFlags parameter of MCI_SET command message Global Const MCI_WAVE_SET_FORMATTAG = &H00010000& Global Const MCI_WAVE_SET_CHANNELS = &H00020000& Global Const MCI_WAVE_SET_SAMPLESPERSEC = &H00040000& Global Const MCI_WAVE_SET_AVGBYTESPERSEC = &H00080000& Global Const MCI_WAVE_SET_BLOCKALIGN = &H00100000& Global Const MCI_WAVE_SET_BITSPERSAMPLE = &H00200000& ' flags for the dwFlags parameter of MCI_STATUS, MCI_SET command messages Global Const MCI_WAVE_INPUT = &H00400000& Global Const MCI_WAVE_OUTPUT = &H00800000& ' flags for the dwItem field of MCI_STATUS_PARMS parameter block Global Const MCI_WAVE_STATUS_FORMATTAG = &H00004001& Global Const MCI_WAVE_STATUS_CHANNELS = &H00004002& Global Const MCI_WAVE_STATUS_SAMPLESPERSEC = &H00004003& Global Const MCI_WAVE_STATUS_AVGBYTESPERSEC = &H00004004& Global Const MCI_WAVE_STATUS_BLOCKALIGN = &H00004005& Global Const MCI_WAVE_STATUS_BITSPERSAMPLE = &H00004006& Global Const MCI_WAVE_STATUS_LEVEL = &H00004007& ' flags for the dwFlags parameter of MCI_SET command message Global Const MCI_WAVE_SET_ANYINPUT = &H04000000& Global Const MCI_WAVE_SET_ANYOUTPUT = &H08000000& ' flags for the dwFlags parameter of MCI_GETDEVCAPS command message Global Const MCI_WAVE_GETDEVCAPS_INPUTS = &H00004001& Global Const MCI_WAVE_GETDEVCAPS_OUTPUTS = &H00004002& ' MCI extensions for MIDI sequencer devices ' flags for the dwReturn field of MCI_STATUS_PARMS parameter block ' MCI_STATUS command, (dwItem = MCI_SEQ_STATUS_DIVTYPE) Global Const MCI_SEQ_DIV_PPQN = (0 + MCI_SEQ_OFFSET) Global Const MCI_SEQ_DIV_SMPTE_24 = (1 + MCI_SEQ_OFFSET) Global Const MCI_SEQ_DIV_SMPTE_25 = (2 + MCI_SEQ_OFFSET) Global Const MCI_SEQ_DIV_SMPTE_30DROP = (3 + MCI_SEQ_OFFSET) Global Const MCI_SEQ_DIV_SMPTE_30 = (4 + MCI_SEQ_OFFSET) ' flags for the dwMaster field of MCI_SEQ_SET_PARMS parameter block ' MCI_SET command, (dwFlags = MCI_SEQ_SET_MASTER) Global Const MCI_SEQ_FORMAT_SONGPTR = &H4001 Global Const MCI_SEQ_FILE = &H4002 Global Const MCI_SEQ_MIDI = &H4003 Global Const MCI_SEQ_SMPTE = &H4004 Global Const MCI_SEQ_NONE = 65533 ' flags for the dwItem field of MCI_STATUS_PARMS parameter block Global Const MCI_SEQ_STATUS_TEMPO = &H00004002& Global Const MCI_SEQ_STATUS_PORT = &H00004003& Global Const MCI_SEQ_STATUS_SLAVE = &H00004007& Global Const MCI_SEQ_STATUS_MASTER = &H00004008& Global Const MCI_SEQ_STATUS_OFFSET = &H00004009& Global Const MCI_SEQ_STATUS_DIVTYPE = &H0000400A& ' flags for the dwFlags parameter of MCI_SET command message Global Const MCI_SEQ_SET_TEMPO = &H00010000& Global Const MCI_SEQ_SET_PORT = &H00020000& Global Const MCI_SEQ_SET_SLAVE = &H00040000& Global Const MCI_SEQ_SET_MASTER = &H00080000& Global Const MCI_SEQ_SET_OFFSET = &H01000000& ' MCI extensions for animation devices ' flags for dwFlags parameter of MCI_OPEN command message Global Const MCI_ANIM_OPEN_WS = &H00010000& Global Const MCI_ANIM_OPEN_PARENT = &H00020000& Global Const MCI_ANIM_OPEN_NOSTATIC = &H00040000& ' flags for dwFlags parameter of MCI_PLAY command message Global Const MCI_ANIM_PLAY_SPEED = &H00010000& Global Const MCI_ANIM_PLAY_REVERSE = &H00020000& Global Const MCI_ANIM_PLAY_FAST = &H00040000& Global Const MCI_ANIM_PLAY_SLOW = &H00080000& Global Const MCI_ANIM_PLAY_SCAN = &H00100000& ' flags for dwFlags parameter of MCI_STEP command message Global Const MCI_ANIM_STEP_REVERSE = &H00010000& Global Const MCI_ANIM_STEP_FRAMES = &H00020000& ' flags for dwItem field of MCI_STATUS_PARMS parameter block Global Const MCI_ANIM_STATUS_SPEED = &H00004001& Global Const MCI_ANIM_STATUS_FORWARD = &H00004002& Global Const MCI_ANIM_STATUS_HWND = &H00004003& Global Const MCI_ANIM_STATUS_HPAL = &H00004004& Global Const MCI_ANIM_STATUS_STRETCH = &H00004005& ' flags for the dwFlags parameter of MCI_INFO command message Global Const MCI_ANIM_INFO_TEXT = &H00010000& ' flags for dwItem field of MCI_GETDEVCAPS_PARMS parameter block Global Const MCI_ANIM_GETDEVCAPS_CAN_REVERSE =&H00004001& Global Const MCI_ANIM_GETDEVCAPS_FAST_RATE = &H00004002& Global Const MCI_ANIM_GETDEVCAPS_SLOW_RATE = &H00004003& Global Const MCI_ANIM_GETDEVCAPS_NORMAL_RATE =&H00004004& Global Const MCI_ANIM_GETDEVCAPS_PALETTES = &H00004006& Global Const MCI_ANIM_GETDEVCAPS_CAN_STRETCH =&H00004007& Global Const MCI_ANIM_GETDEVCAPS_MAX_WINDOWS =&H00004008& ' flags for the MCI_REALIZE command message Global Const MCI_ANIM_REALIZE_NORM = &H00010000& Global Const MCI_ANIM_REALIZE_BKGD = &H00020000& ' flags for dwFlags parameter of MCI_WINDOW command message Global Const MCI_ANIM_WINDOW_HWND = &H00010000& Global Const MCI_ANIM_WINDOW_STATE = &H00040000& Global Const MCI_ANIM_WINDOW_TEXT = &H00080000& Global Const MCI_ANIM_WINDOW_ENABLE_STRETCH = &H00100000& Global Const MCI_ANIM_WINDOW_DISABLE_STRETCH =&H00200000& ' flags for hWnd field of MCI_ANIM_WINDOW_PARMS parameter block ' MCI_WINDOW command message, (dwFlags = MCI_ANIM_WINDOW_HWND) Global Const MCI_ANIM_WINDOW_DEFAULT = &H00000000& ' flags for dwFlags parameter of MCI_PUT command message Global Const MCI_ANIM_RECT = &H00010000& Global Const MCI_ANIM_PUT_SOURCE = &H00020000& Global Const MCI_ANIM_PUT_DESTINATION = &H00040000& ' flags for dwFlags parameter of MCI_WHERE command message Global Const MCI_ANIM_WHERE_SOURCE = &H00020000& Global Const MCI_ANIM_WHERE_DESTINATION = &H00040000& ' flags for dwFlags parameter of MCI_UPDATE command message Global Const MCI_ANIM_UPDATE_HDC = &H00020000& ' MCI extensions for video overlay devices ' flags for dwFlags parameter of MCI_OPEN command message Global Const MCI_OVLY_OPEN_WS = &H00010000& Global Const MCI_OVLY_OPEN_PARENT = &H00020000& ' flags for dwFlags parameter of MCI_STATUS command message Global Const MCI_OVLY_STATUS_HWND = &H00004001& Global Const MCI_OVLY_STATUS_STRETCH = &H00004002& ' flags for dwFlags parameter of MCI_INFO command message Global Const MCI_OVLY_INFO_TEXT = &H00010000& ' flags for dwItem field of MCI_GETDEVCAPS_PARMS parameter block Global Const MCI_OVLY_GETDEVCAPS_CAN_STRETCH =&H00004001& Global Const MCI_OVLY_GETDEVCAPS_CAN_FREEZE = &H00004002& Global Const MCI_OVLY_GETDEVCAPS_MAX_WINDOWS =&H00004003& ' flags for dwFlags parameter of MCI_WINDOW command message Global Const MCI_OVLY_WINDOW_HWND = &H00010000& Global Const MCI_OVLY_WINDOW_STATE = &H00040000& Global Const MCI_OVLY_WINDOW_TEXT = &H00080000& Global Const MCI_OVLY_WINDOW_ENABLE_STRETCH = &H00100000& Global Const MCI_OVLY_WINDOW_DISABLE_STRETCH =&H00200000& ' flags for hWnd parameter of MCI_OVLY_WINDOW_PARMS parameter block Global Const MCI_OVLY_WINDOW_DEFAULT = &H00000000& ' flags for dwFlags parameter of MCI_PUT command message Global Const MCI_OVLY_RECT = &H00010000& Global Const MCI_OVLY_PUT_SOURCE = &H00020000& Global Const MCI_OVLY_PUT_DESTINATION = &H00040000& Global Const MCI_OVLY_PUT_FRAME = &H00080000& Global Const MCI_OVLY_PUT_VIDEO = &H00100000& ' flags for dwFlags parameter of MCI_WHERE command message Global Const MCI_OVLY_WHERE_SOURCE = &H00020000& Global Const MCI_OVLY_WHERE_DESTINATION = &H00040000& Global Const MCI_OVLY_WHERE_FRAME = &H00080000& Global Const MCI_OVLY_WHERE_VIDEO = &H00100000& '**************************************************************************** ' '' DISPLAY Driver extensions ' '****************************************************************************/ Global Const CAPS1 = 94 ' other caps Global Const C1_TRANSPARENT = &H0001 ' new raster cap Global Const NEWTRANSPARENT = 3 ' use with SetBkMode() Global Const QUERYROPSUPPORT =40 ' use to determine ROP support '**************************************************************************** ' '' DIB Driver extensions ' '****************************************************************************/ Global Const SELECTDIB = 41 ' DIB.DRV select dib escape '**************************************************************************** ' '' ScreenSaver support ' ' The current application will receive a syscommand of SC_SCREENSAVE just ' before the screen saver is invoked. If the app wishes to prevent a ' screen save, return non-zero value, otherwise call DefWindowProc(). ' '****************************************************************************/ Global Const SC_SCREENSAVE = &HF140