Changeset 12887


Ignore:
Timestamp:
Jan 3, 2000, 11:24:25 AM (25 years ago)
Author:
sandervl
Message:

JW: Updates for winmm + mci dlls

Location:
tags/trunk/include/win
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/include/win/mmsystem.h

    r11707 r12887  
    1 /* $Id: mmsystem.h,v 1.2 1999-10-04 09:55:49 sandervl Exp $ */
    2 
     1/* $Id: mmsystem.h,v 1.3 2000-01-03 10:24:25 sandervl Exp $ */
    32/*
    43 * MMSYSTEM - Multimedia Wine Extension ... :-)
     
    117116#define MM_MOM_DONE         0x3C9
    118117#define MM_MOM_POSITIONCB   0x3CA
     118
     119#define MM_MIM_MOREDATA     0x3CC
    119120
    120121#define MMSYSERR_BASE          0
     
    154155#define MMSYSERR_LASTERROR      (MMSYSERR_BASE + 20) /* last error in range */
    155156
    156 
    157157#define CALLBACK_TYPEMASK       0x00070000l     /* callback type mask */
    158158#define CALLBACK_NULL           0x00000000l     /* no callback */
     
    162162#define CALLBACK_FUNCTION       0x00030000l     /* dwCallback is a FARPROC */
    163163#define CALLBACK_EVENT          0x00050000l     /* dwCallback is an EVENT Handler */
    164 #define CALLBACK_FUNC32         0x00070000l     /* (ugly hack) 32-bit FARPROC */
    165 #define CALLBACK32CONV(x)   ((((x)&CALLBACK_TYPEMASK)==CALLBACK_FUNCTION) ? \
    166                              (((x)&~CALLBACK_TYPEMASK)|CALLBACK_FUNC32) : (x))
    167 
    168 typedef void (* CALLBACK LPDRVCALLBACK16) (HDRVR16 h, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
    169 typedef void (* CALLBACK LPDRVCALLBACK) (HDRVR h, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
     164
     165typedef void (CALLBACK *LPDRVCALLBACK16) (HDRVR16 h, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
     166typedef void (CALLBACK *LPDRVCALLBACK) (HDRVR h, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
    170167
    171168#define MM_MICROSOFT            1       /* Microsoft Corp. */
     
    231228#define WAVE_MAPPER     (-1)
    232229
    233 #define  WAVE_FORMAT_QUERY     0x0001
    234 #define  WAVE_ALLOWSYNC        0x0002
     230#define  WAVE_FORMAT_QUERY              0x0001
     231#define  WAVE_ALLOWSYNC                 0x0002
     232#define  WAVE_MAPPED                    0x0004
     233#define  WAVE_FORMAT_DIRECT             0x0008
     234#define  WAVE_FORMAT_DIRECT_QUERY       (WAVE_FORMAT_QUERY | WAVE_FORMAT_DIRECT)
    235235
    236236typedef struct wavehdr_tag {
     
    472472#define MIM_ERROR       MM_MIM_ERROR
    473473#define MIM_LONGERROR   MM_MIM_LONGERROR
     474#define MIM_MOREDATA    MM_MIM_MOREDATA
     475
    474476#define MOM_OPEN        MM_MOM_OPEN
    475477#define MOM_CLOSE       MM_MOM_CLOSE
    476478#define MOM_DONE        MM_MOM_DONE
     479#define MOM_POSITIONCB  MM_MOM_POSITIONCB
    477480
    478481/* device ID for MIDI mapper */
     
    480483#define MIDIMAPPER     (-1)
    481484#define MIDI_MAPPER    (-1)
     485
     486/* Only on Win95 and up */
     487#define MIDI_IO_STATUS  0x00000020L
    482488
    483489/* flags for wFlags parm of
     
    782788#define TIMERR_STRUCT         (TIMERR_BASE+33)     /* time struct size */
    783789
    784 typedef void (* CALLBACK LPTIMECALLBACK16)(UINT16 uTimerID, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
    785 typedef void (* CALLBACK LPTIMECALLBACK)(UINT uTimerID, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
     790typedef void (CALLBACK *LPTIMECALLBACK16)(UINT16 uTimerID, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
     791typedef void (CALLBACK *LPTIMECALLBACK)(UINT uTimerID, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
    786792
    787793#define TIME_ONESHOT                    0x0000  /* program timer for single event */
     
    10011007MMRESULT16      WINAPI  joyGetPos16(UINT16,LPJOYINFO16);
    10021008MMRESULT        WINAPI  joyGetPos(UINT,LPJOYINFO);
     1009MMRESULT16      WINAPI  joyGetPosEx16(UINT16,LPJOYINFOEX);
    10031010MMRESULT        WINAPI  joyGetPosEx(UINT,LPJOYINFOEX);
    10041011MMRESULT16      WINAPI  joyGetThreshold16(UINT16,UINT16*);
     
    10541061#define MIXERLINE_LINEF_DISCONNECTED    0x00008000
    10551062#define MIXERLINE_LINEF_SOURCE          0x80000000
     1063
     1064/* Mixer flags */
     1065#define MIXER_OBJECTF_HANDLE    0x80000000L
     1066#define MIXER_OBJECTF_MIXER     0x00000000L
     1067#define MIXER_OBJECTF_HMIXER    (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIXER)
     1068#define MIXER_OBJECTF_WAVEOUT   0x10000000L
     1069#define MIXER_OBJECTF_HWAVEOUT  (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEOUT)
     1070#define MIXER_OBJECTF_WAVEIN    0x20000000L
     1071#define MIXER_OBJECTF_HWAVEIN   (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEIN)
     1072#define MIXER_OBJECTF_MIDIOUT   0x30000000L
     1073#define MIXER_OBJECTF_HMIDIOUT  (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIOUT)
     1074#define MIXER_OBJECTF_MIDIIN    0x40000000L
     1075#define MIXER_OBJECTF_HMIDIIN   (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIIN)
     1076#define MIXER_OBJECTF_AUX       0x50000000L
    10561077
    10571078/*  MIXERLINE.dwComponentType */
     
    12451266            LONG        lMinimum;       /* signed minimum for this control */
    12461267            LONG        lMaximum;       /* signed maximum for this control */
    1247         } l;
     1268        } DUMMYSTRUCTNAME;
    12481269        struct {
    12491270            DWORD       dwMinimum;      /* unsigned minimum for this control */
    12501271            DWORD       dwMaximum;      /* unsigned maximum for this control */
    1251         } dw;
     1272        } DUMMYSTRUCTNAME1;
    12521273        DWORD           dwReserved[6];
    12531274    } Bounds;
     
    12711292            LONG        lMinimum;
    12721293            LONG        lMaximum;
    1273         } l;
     1294        } DUMMYSTRUCTNAME;
    12741295        struct {
    12751296            DWORD       dwMinimum;
    12761297            DWORD       dwMaximum;
    1277         } dw;
     1298        } DUMMYSTRUCTNAME1;
    12781299        DWORD           dwReserved[6];
    12791300    } Bounds;
     
    12971318            LONG        lMinimum;
    12981319            LONG        lMaximum;
    1299         } l;
     1320        } DUMMYSTRUCTNAME;
    13001321        struct {
    13011322            DWORD       dwMinimum;
    13021323            DWORD       dwMaximum;
    1303         } dw;
     1324        } DUMMYSTRUCTNAME1;
    13041325        DWORD           dwReserved[6];
    13051326    } Bounds;
     
    13201341        DWORD   dwControlID;    /* MIXER_GETLINECONTROLSF_ONEBYID */
    13211342        DWORD   dwControlType;  /* MIXER_GETLINECONTROLSF_ONEBYTYPE */
    1322     } u;
     1343    } DUMMYUNIONNAME;
    13231344    DWORD       cControls;      /* count of controls pmxctrl points to */
    13241345    DWORD       cbmxctrl;       /* size in bytes of _one_ MIXERCONTROL */
     
    13321353        DWORD   dwControlID;
    13331354        DWORD   dwControlType;
    1334     } u;
     1355    } DUMMYUNIONNAME;
    13351356    DWORD       cControls;
    13361357    DWORD       cbmxctrl;
     
    13441365        DWORD   dwControlID;
    13451366        DWORD   dwControlType;
    1346     } u;
     1367    } DUMMYUNIONNAME;
    13471368    DWORD       cControls;
    13481369    DWORD       cbmxctrl;
     
    13601381        HWND16  hwndOwner;      /* for MIXER_SETCONTROLDETAILSF_CUSTOM */
    13611382        DWORD   cMultipleItems; /* if _MULTIPLE, the number of items per channel */
    1362     } u;
     1383    } DUMMYUNIONNAME;
    13631384    DWORD       cbDetails;      /* size of _one_ details_XX struct */
    13641385    LPVOID      paDetails;      /* pointer to array of details_XX structs */
     
    13721393        HWND    hwndOwner;
    13731394        DWORD   cMultipleItems;
    1374     } u;
     1395    } DUMMYUNIONNAME;
    13751396    DWORD       cbDetails;
    13761397    LPVOID      paDetails;
     
    14801501
    14811502typedef DWORD           FOURCC;         /* a four character code */
    1482 typedef LONG (* CALLBACK LPMMIOPROC16)(LPSTR lpmmioinfo, UINT16 uMessage,
     1503typedef LONG (CALLBACK *LPMMIOPROC16)(LPSTR lpmmioinfo, UINT16 uMessage,
    14831504                                      LPARAM lParam1, LPARAM lParam2);
    1484 typedef LONG (* CALLBACK LPMMIOPROC)(LPSTR lpmmioinfo, UINT uMessage,
     1505typedef LONG (CALLBACK *LPMMIOPROC)(LPSTR lpmmioinfo, UINT uMessage,
    14851506                                    LPARAM lParam1, LPARAM lParam2);
    14861507
     
    23812402        DWORD           dwCallback;
    23822403        MCIDEVICEID     wDeviceID;
    2383         LPCSTR          lpstrDeviceType;
    2384         LPCSTR          lpstrElementName;
    2385         LPCSTR          lpstrAlias;
     2404        LPCWSTR         lpstrDeviceType;
     2405        LPCWSTR         lpstrElementName;
     2406        LPCWSTR         lpstrAlias;
    23862407        DWORD           dwStyle;
    23872408        HWND            hWndParent;
     
    26182639DECL_WINELIB_TYPE_AW(LPMCI_OVLY_LOAD_PARMS)
    26192640
    2620 /**************************************************************
    2621  *              Linux MMSYSTEM Internals & Sample Audio Drivers
    2622  */
    2623 
    2624 #define DRVM_INIT             0x64
    2625 #define DRVM_EXIT             0x65
    2626 #define DRVM_DISABLE          0x66
    2627 #define DRVM_ENABLE           0x67
    2628 
    2629 #define WODM_INIT             DRVM_INIT
    2630 #define WIDM_INIT             DRVM_INIT
    2631 #define MODM_INIT             DRVM_INIT
    2632 #define MIDM_INIT             DRVM_INIT
    2633 #define AUXM_INIT             DRVM_INIT
    2634 
    2635 #define WODM_GETNUMDEVS       3
    2636 #define WODM_GETDEVCAPS       4
    2637 #define WODM_OPEN             5
    2638 #define WODM_CLOSE            6
    2639 #define WODM_PREPARE          7
    2640 #define WODM_UNPREPARE        8
    2641 #define WODM_WRITE            9
    2642 #define WODM_PAUSE            10
    2643 #define WODM_RESTART          11
    2644 #define WODM_RESET            12
    2645 #define WODM_GETPOS           13
    2646 #define WODM_GETPITCH         14
    2647 #define WODM_SETPITCH         15
    2648 #define WODM_GETVOLUME        16
    2649 #define WODM_SETVOLUME        17
    2650 #define WODM_GETPLAYBACKRATE  18
    2651 #define WODM_SETPLAYBACKRATE  19
    2652 #define WODM_BREAKLOOP        20
    2653 #define WODM_STOP             21
    2654 
    2655 #define WIDM_GETNUMDEVS  50
    2656 #define WIDM_GETDEVCAPS  51
    2657 #define WIDM_OPEN        52
    2658 #define WIDM_CLOSE       53
    2659 #define WIDM_PREPARE     54
    2660 #define WIDM_UNPREPARE   55
    2661 #define WIDM_ADDBUFFER   56
    2662 #define WIDM_START       57
    2663 #define WIDM_STOP        58
    2664 #define WIDM_RESET       59
    2665 #define WIDM_GETPOS      60
    2666 #define WIDM_PAUSE       61
    2667 
    2668 #define MODM_GETNUMDEVS         1
    2669 #define MODM_GETDEVCAPS         2
    2670 #define MODM_OPEN               3
    2671 #define MODM_CLOSE              4
    2672 #define MODM_PREPARE            5
    2673 #define MODM_UNPREPARE          6
    2674 #define MODM_DATA               7
    2675 #define MODM_LONGDATA           8
    2676 #define MODM_RESET              9
    2677 #define MODM_GETVOLUME          10
    2678 #define MODM_SETVOLUME          11
    2679 #define MODM_CACHEPATCHES       12     
    2680 #define MODM_CACHEDRUMPATCHES   13     
    2681 
    2682 #define MIDM_GETNUMDEVS  53
    2683 #define MIDM_GETDEVCAPS  54
    2684 #define MIDM_OPEN        55
    2685 #define MIDM_CLOSE       56
    2686 #define MIDM_PREPARE     57
    2687 #define MIDM_UNPREPARE   58
    2688 #define MIDM_ADDBUFFER   59
    2689 #define MIDM_START       60
    2690 #define MIDM_STOP        61
    2691 #define MIDM_RESET       62
    2692 
    2693 #define AUXDM_GETNUMDEVS    3
    2694 #define AUXDM_GETDEVCAPS    4
    2695 #define AUXDM_GETVOLUME     5
    2696 #define AUXDM_SETVOLUME     6
    2697 
    2698 #define MXDM_GETNUMDEVS         1
    2699 #define MXDM_GETDEVCAPS         2
    2700 #define MXDM_OPEN               3
    2701 #define MXDM_CLOSE              4
    2702 #define MXDM_GETLINEINFO        5
    2703 #define MXDM_GETLINECONTROLS    6
    2704 #define MXDM_GETCONTROLDETAILS  7
    2705 #define MXDM_SETCONTROLDETAILS  8
    2706 
    2707 #define MCI_MAX_DEVICE_TYPE_LENGTH 80
    2708 
    2709 #define MCI_FALSE                       (MCI_STRING_OFFSET + 19)
    2710 #define MCI_TRUE                        (MCI_STRING_OFFSET + 20)
    2711 
    2712 #define MCI_FORMAT_RETURN_BASE          MCI_FORMAT_MILLISECONDS_S
    2713 #define MCI_FORMAT_MILLISECONDS_S       (MCI_STRING_OFFSET + 21)
    2714 #define MCI_FORMAT_HMS_S                (MCI_STRING_OFFSET + 22)
    2715 #define MCI_FORMAT_MSF_S                (MCI_STRING_OFFSET + 23)
    2716 #define MCI_FORMAT_FRAMES_S             (MCI_STRING_OFFSET + 24)
    2717 #define MCI_FORMAT_SMPTE_24_S           (MCI_STRING_OFFSET + 25)
    2718 #define MCI_FORMAT_SMPTE_25_S           (MCI_STRING_OFFSET + 26)
    2719 #define MCI_FORMAT_SMPTE_30_S           (MCI_STRING_OFFSET + 27)
    2720 #define MCI_FORMAT_SMPTE_30DROP_S       (MCI_STRING_OFFSET + 28)
    2721 #define MCI_FORMAT_BYTES_S              (MCI_STRING_OFFSET + 29)
    2722 #define MCI_FORMAT_SAMPLES_S            (MCI_STRING_OFFSET + 30)
    2723 #define MCI_FORMAT_TMSF_S               (MCI_STRING_OFFSET + 31)
    2724 
    2725 #define MCI_VD_FORMAT_TRACK_S           (MCI_VD_OFFSET + 5)
    2726 
    2727 #define WAVE_FORMAT_PCM_S               (MCI_WAVE_OFFSET + 0)
    2728 #define WAVE_MAPPER_S                   (MCI_WAVE_OFFSET + 1)
    2729 
    2730 #define MCI_SEQ_MAPPER_S                (MCI_SEQ_OFFSET + 5)
    2731 #define MCI_SEQ_FILE_S                  (MCI_SEQ_OFFSET + 6)
    2732 #define MCI_SEQ_MIDI_S                  (MCI_SEQ_OFFSET + 7)
    2733 #define MCI_SEQ_SMPTE_S                 (MCI_SEQ_OFFSET + 8)
    2734 #define MCI_SEQ_FORMAT_SONGPTR_S        (MCI_SEQ_OFFSET + 9)
    2735 #define MCI_SEQ_NONE_S                  (MCI_SEQ_OFFSET + 10)
    2736 #define MIDIMAPPER_S                    (MCI_SEQ_OFFSET + 11)
    2737 
    2738 #define MCI_RESOURCE_RETURNED       0x00010000  /* resource ID */
    2739 #define MCI_COLONIZED3_RETURN       0x00020000  /* colonized ID, 3 bytes data */
    2740 #define MCI_COLONIZED4_RETURN       0x00040000  /* colonized ID, 4 bytes data */
    2741 #define MCI_INTEGER_RETURNED        0x00080000  /* integer conversion needed */
    2742 #define MCI_RESOURCE_DRIVER         0x00100000  /* driver owns returned resource */
    2743 
    2744 #define MCI_NO_COMMAND_TABLE    0xFFFF
    2745 
    2746 #define MCI_COMMAND_HEAD        0
    2747 #define MCI_STRING              1
    2748 #define MCI_INTEGER             2
    2749 #define MCI_END_COMMAND         3
    2750 #define MCI_RETURN              4
    2751 #define MCI_FLAG                5
    2752 #define MCI_END_COMMAND_LIST    6
    2753 #define MCI_RECT                7
    2754 #define MCI_CONSTANT            8
    2755 #define MCI_END_CONSTANT        9
    2756 
    2757 /* Mixer flags */
    2758 #define MIXER_OBJECTF_HANDLE    0x80000000L
    2759 #define MIXER_OBJECTF_MIXER     0x00000000L
    2760 #define MIXER_OBJECTF_HMIXER    (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIXER)
    2761 #define MIXER_OBJECTF_WAVEOUT   0x10000000L
    2762 #define MIXER_OBJECTF_HWAVEOUT  (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEOUT)
    2763 #define MIXER_OBJECTF_WAVEIN    0x20000000L
    2764 #define MIXER_OBJECTF_HWAVEIN   (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEIN)
    2765 #define MIXER_OBJECTF_MIDIOUT   0x30000000L
    2766 #define MIXER_OBJECTF_HMIDIOUT  (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIOUT)
    2767 #define MIXER_OBJECTF_MIDIIN    0x40000000L
    2768 #define MIXER_OBJECTF_HMIDIIN   (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIIN)
    2769 #define MIXER_OBJECTF_AUX       0x50000000L
    2770 
    2771 #define MAKEMCIRESOURCE(wRet, wRes) MAKELRESULT((wRet), (wRes))
    2772 
    2773 /* the 95 DDK defines those slightly different, but they are internal anyway */
    2774 typedef struct {
    2775         DWORD                   dwCallback;
    2776         DWORD                   dwInstance;
    2777         HMIDIOUT16              hMidi;
    2778         DWORD                   dwFlags;
    2779 } PORTALLOC, *LPPORTALLOC;
    2780 
    2781 typedef struct {
    2782         HWAVE16                 hWave;
    2783         LPWAVEFORMAT            lpFormat;
    2784         DWORD                   dwCallBack;
    2785         DWORD                   dwInstance;
    2786         UINT16                  uDeviceID;
    2787 } WAVEOPENDESC, *LPWAVEOPENDESC;
    2788 
    2789 typedef struct {
    2790         DWORD                   dwStreamID;
    2791         WORD                    wDeviceID;
    2792 } MIDIOPENSTRMID;
    2793 
    2794 /* FIXME: this structure has a different mapping in 16 & 32 bit mode
    2795  * Since, I don't plan to add support for native 16 bit low level
    2796  * multimedia drivers, it'll do.
    2797  */
    2798 typedef struct {
    2799         HMIDI16                 hMidi;
    2800         DWORD                   dwCallback;
    2801         DWORD                   dwInstance;
    2802         UINT16                  wDevID;
    2803         DWORD                   dnDevNode;
    2804         DWORD                   cIds;
    2805         MIDIOPENSTRMID          rgIds;
    2806 } MIDIOPENDESC, *LPMIDIOPENDESC;
    2807 
    2808 typedef struct {
    2809         UINT16                  wDelay;
    2810         UINT16                  wResolution;
    2811         LPTIMECALLBACK16        lpFunction;
    2812         DWORD                   dwUser;
    2813         UINT16                  wFlags;
    2814 } TIMEREVENT, *LPTIMEREVENT;
    2815 
    2816 typedef struct tMIXEROPENDESC
    2817 {
    2818         HMIXEROBJ16     hmx;
    2819         DWORD                   dwCallback;
    2820         DWORD                   dwInstance;
    2821         UINT16          uDeviceID;
    2822 } MIXEROPENDESC,*LPMIXEROPENDESC;
    2823 
    2824 typedef struct {
    2825         UINT16  wDeviceID;              /* device ID */
    2826         LPSTR           lpstrParams;    /* parameter string for entry in SYSTEM.INI */
    2827         UINT16  wCustomCommandTable;    /* custom command table (0xFFFF if none)
    2828                                          * filled in by the driver */
    2829         UINT16  wType;                  /* driver type (filled in by the driver) */
    2830 } MCI_OPEN_DRIVER_PARMS16, *LPMCI_OPEN_DRIVER_PARMS16;
    2831 
    2832 typedef struct {
    2833         UINT    wDeviceID;              /* device ID */
    2834         LPSTR   lpstrParams;            /* parameter string for entry in SYSTEM.INI */
    2835         UINT    wCustomCommandTable;    /* custom command table (0xFFFF if none) * filled in by the driver */
    2836         UINT    wType;                  /* driver type (filled in by the driver) */
    2837 } MCI_OPEN_DRIVER_PARMSA, *LPMCI_OPEN_DRIVER_PARMSA;
    2838 
    2839 typedef struct {
    2840         UINT    wDeviceID;              /* device ID */
    2841         LPWSTR  lpstrParams;            /* parameter string for entry in SYSTEM.INI */
    2842         UINT    wCustomCommandTable;    /* custom command table (0xFFFF if none) * filled in by the driver */
    2843         UINT    wType;                  /* driver type (filled in by the driver) */
    2844 } MCI_OPEN_DRIVER_PARMSW, *LPMCI_OPEN_DRIVER_PARMSW;
    2845 
    2846 DWORD           WINAPI  mciGetDriverData16(UINT16 uDeviceID);
    2847 DWORD           WINAPI  mciGetDriverData(UINT uDeviceID);
    2848 
    2849 BOOL16          WINAPI  mciSetDriverData16(UINT16 uDeviceID, DWORD dwData);
    2850 BOOL            WINAPI  mciSetDriverData(UINT uDeviceID, DWORD dwData);
    2851 
    2852 UINT16          WINAPI  mciDriverYield16(UINT16 uDeviceID);
    2853 UINT            WINAPI  mciDriverYield(UINT uDeviceID);
    2854 
    2855 BOOL16          WINAPI  mciDriverNotify16(HWND16 hwndCallback, UINT16 uDeviceID,
    2856                                           UINT16 uStatus);
    2857 BOOL            WINAPI  mciDriverNotify(HWND hwndCallback, UINT uDeviceID,
    2858                                         UINT uStatus);
    2859 
    2860 UINT16          WINAPI  mciLoadCommandResource16(HINSTANCE16 hInstance,
    2861                                                  LPCSTR lpResName, UINT16 uType);
    2862 UINT            WINAPI  mciLoadCommandResource(HINSTANCE hInstance,
    2863                                                LPCWSTR lpResName, UINT uType);
    2864 
    2865 BOOL16          WINAPI  mciFreeCommandResource16(UINT16 uTable);
    2866 BOOL            WINAPI  mciFreeCommandResource(UINT uTable);
    2867 
    2868 #define DCB_NULL                0x0000
    2869 #define DCB_WINDOW              0x0001                  /* dwCallback is a HWND */
    2870 #define DCB_TASK                0x0002                  /* dwCallback is a HTASK */
    2871 #define DCB_FUNCTION            0x0003                  /* dwCallback is a FARPROC */
    2872 #define DCB_EVENT               0x0005                  /* dwCallback is an EVENT Handler */
    2873 #define DCB_FUNC32              0x0007                  /* (ugly hack) 32-bit FARPROC */
    2874 #define DCB_TYPEMASK            0x0007
    2875 #define DCB_NOSWITCH            0x0008                  /* don't switch stacks for callback */
    2876 
    2877 BOOL16          WINAPI  DriverCallback16(DWORD dwCallBack, UINT16 uFlags, HANDLE16 hDev,
    2878                                          WORD wMsg, DWORD dwUser, DWORD dwParam1, DWORD dwParam2);
    2879 DWORD           WINAPI  auxMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
    2880                                    DWORD dwParam1, DWORD dwParam2);
    2881 DWORD           WINAPI  mixMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
    2882                                    DWORD dwParam1, DWORD dwParam2);
    2883 DWORD           WINAPI  midMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
    2884                                    DWORD dwParam1, DWORD dwParam2);
    2885 DWORD           WINAPI  modMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
    2886                                    DWORD dwParam1, DWORD dwParam2);
    2887 DWORD           WINAPI  widMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
    2888                                    DWORD dwParam1, DWORD dwParam2);
    2889 DWORD           WINAPI  wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
    2890                                    DWORD dwParam1, DWORD dwParam2);
    28912641#include "poppack.h"
    28922642
Note: See TracChangeset for help on using the changeset viewer.