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

mcicda.c File Reference
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wownt32.h"
#include "mmddk.h"
#include "winioctl.h"
#include "ntddcdrm.h"
#include "winternl.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "dsound.h"

Go to the source code of this file.

Data Structures

struct  WINE_MCICDAUDIO

Defines

#define WIN32_NO_STATUS
#define CDFRAMES_PERSEC   75
#define CDFRAMES_PERMIN   (CDFRAMES_PERSEC * 60)
#define FRAME_OF_ADDR(a)   ((a)[1] * CDFRAMES_PERMIN + (a)[2] * CDFRAMES_PERSEC + (a)[3])
#define FRAME_OF_TOC(toc, idx)   FRAME_OF_ADDR((toc).TrackData[idx - (toc).FirstTrack].Address)
#define RAW_SECTOR_SIZE   (2352)
#define CDDA_FRAG_SIZE   (32768)
#define CDDA_FRAG_COUNT   (3)

Typedefs

typedef HRESULT(WINAPILPDIRECTSOUNDCREATE )(LPCGUID, LPDIRECTSOUND *, LPUNKNOWN)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (mcicda)
static DWORD CALLBACK MCICDA_playLoop (void *ptr)
static DWORD MCICDA_drvOpen (LPCWSTR str, LPMCI_OPEN_DRIVER_PARMSW modp)
static DWORD MCICDA_drvClose (DWORD dwDevID)
static WINE_MCICDAUDIOMCICDA_GetOpenDrv (UINT wDevID)
static void MCICDA_Notify (DWORD_PTR hWndCallBack, WINE_MCICDAUDIO *wmcda, UINT wStatus)
static DWORD MCICDA_GetStatus (WINE_MCICDAUDIO *wmcda)
static int MCICDA_GetError (WINE_MCICDAUDIO *wmcda)
static DWORD MCICDA_CalcFrame (WINE_MCICDAUDIO *wmcda, DWORD dwTime)
static DWORD MCICDA_CalcTime (WINE_MCICDAUDIO *wmcda, DWORD tf, DWORD dwFrame, LPDWORD lpRet)
static DWORD MCICDA_Stop (UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms)
static DWORD MCICDA_Open (UINT wDevID, DWORD dwFlags, LPMCI_OPEN_PARMSW lpOpenParms)
static DWORD MCICDA_Close (UINT wDevID, DWORD dwParam, LPMCI_GENERIC_PARMS lpParms)
static DWORD MCICDA_GetDevCaps (UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_PARMS lpParms)
static DWORD CDROM_Audio_GetSerial (CDROM_TOC *toc)
static DWORD MCICDA_Info (UINT wDevID, DWORD dwFlags, LPMCI_INFO_PARMSW lpParms)
static DWORD MCICDA_Status (UINT wDevID, DWORD dwFlags, LPMCI_STATUS_PARMS lpParms)
static DWORD MCICDA_SkipDataTracks (WINE_MCICDAUDIO *wmcda, DWORD *frame)
static DWORD MCICDA_Play (UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms)
static DWORD MCICDA_Pause (UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms)
static DWORD MCICDA_Resume (UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms)
static DWORD MCICDA_Seek (UINT wDevID, DWORD dwFlags, LPMCI_SEEK_PARMS lpParms)
static DWORD MCICDA_SetDoor (UINT wDevID, BOOL open)
static DWORD MCICDA_Set (UINT wDevID, DWORD dwFlags, LPMCI_SET_PARMS lpParms)
LRESULT CALLBACK MCICDA_DriverProc (DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg, LPARAM dwParam1, LPARAM dwParam2)

Variables

static LPDIRECTSOUNDCREATE pDirectSoundCreate

Generated on Fri May 25 2012 05:10:30 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.