ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

winemm16.h
Go to the documentation of this file.
00001 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
00002 
00003 /*****************************************************************************
00004  * Copyright 1998, Luiz Otavio L. Zorzella
00005  *           1999, Eric Pouech
00006  *
00007  * Purpose:   multimedia declarations (internal to WINMM & MMSYSTEM DLLs)
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * This library is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00022  *****************************************************************************
00023  */
00024 #include "winemm.h"
00025 #include "wine/mmsystem16.h"
00026 #include "wownt32.h"
00027 
00028 /* mmsystem (16 bit files) only functions */
00029 void            MMDRV_Init16(void);
00030 void        MMSYSTEM_MMTIME16to32(LPMMTIME mmt32, const MMTIME16* mmt16);
00031 void        MMSYSTEM_MMTIME32to16(LPMMTIME16 mmt16, const MMTIME* mmt32);
00032 
00033 typedef LONG            (*MCIPROC16)(DWORD, HDRVR16, WORD, DWORD, DWORD);
00034 
00035 /* HANDLE16 -> HANDLE conversions */
00036 #define HDRVR_32(h16)       ((HDRVR)(ULONG_PTR)(h16))
00037 #define HMIDI_32(h16)       ((HMIDI)(ULONG_PTR)(h16))
00038 #define HMIDIIN_32(h16)     ((HMIDIIN)(ULONG_PTR)(h16))
00039 #define HMIDIOUT_32(h16)    ((HMIDIOUT)(ULONG_PTR)(h16))
00040 #define HMIDISTRM_32(h16)   ((HMIDISTRM)(ULONG_PTR)(h16))
00041 #define HMIXER_32(h16)      ((HMIXER)(ULONG_PTR)(h16))
00042 #define HMIXEROBJ_32(h16)   ((HMIXEROBJ)(ULONG_PTR)(h16))
00043 #define HMMIO_32(h16)       ((HMMIO)(ULONG_PTR)(h16))
00044 #define HWAVE_32(h16)       ((HWAVE)(ULONG_PTR)(h16))
00045 #define HWAVEIN_32(h16)     ((HWAVEIN)(ULONG_PTR)(h16))
00046 #define HWAVEOUT_32(h16)    ((HWAVEOUT)(ULONG_PTR)(h16))
00047 
00048 /* HANDLE -> HANDLE16 conversions */
00049 #define HDRVR_16(h32)       (LOWORD(h32))
00050 #define HMIDI_16(h32)       (LOWORD(h32))
00051 #define HMIDIIN_16(h32)     (LOWORD(h32))
00052 #define HMIDIOUT_16(h32)    (LOWORD(h32))
00053 #define HMIDISTRM_16(h32)   (LOWORD(h32))
00054 #define HMIXER_16(h32)      (LOWORD(h32))
00055 #define HMIXEROBJ_16(h32)   (LOWORD(h32))
00056 #define HMMIO_16(h32)       (LOWORD(h32))
00057 #define HWAVE_16(h32)       (LOWORD(h32))
00058 #define HWAVEIN_16(h32)     (LOWORD(h32))
00059 #define HWAVEOUT_16(h32)    (LOWORD(h32))

Generated on Sat May 26 2012 04:25:29 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.