2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_WINEACM_H
|
|
|
|
#define MPLAYER_WINEACM_H
|
2001-02-24 20:28:24 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Wine specific - Win32
|
|
|
|
*/
|
2002-09-13 19:43:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include "wine/msacmdrv.h"
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
|
|
|
|
typedef struct WINE_ACMDRIVER *PWINE_ACMDRIVER;
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct WINE_ACMOBJ
|
2001-02-24 20:28:24 +00:00
|
|
|
{
|
|
|
|
PWINE_ACMDRIVERID pACMDriverID;
|
|
|
|
} WINE_ACMOBJ, *PWINE_ACMOBJ;
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct WINE_ACMDRIVER
|
2001-02-24 20:28:24 +00:00
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
HDRVR hDrvr;
|
|
|
|
DRIVERPROC pfnDriverProc;
|
|
|
|
PWINE_ACMDRIVER pNextACMDriver;
|
2002-09-13 19:43:17 +00:00
|
|
|
int iUsage;
|
2001-02-24 20:28:24 +00:00
|
|
|
} WINE_ACMDRIVER;
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct WINE_ACMSTREAM
|
2001-02-24 20:28:24 +00:00
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
PWINE_ACMDRIVER pDrv;
|
|
|
|
ACMDRVSTREAMINSTANCE drvInst;
|
|
|
|
HACMDRIVER hAcmDriver;
|
|
|
|
} WINE_ACMSTREAM, *PWINE_ACMSTREAM;
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct WINE_ACMDRIVERID
|
2001-02-24 20:28:24 +00:00
|
|
|
{
|
|
|
|
LPSTR pszFileName;
|
2002-09-13 19:43:17 +00:00
|
|
|
WORD wFormatTag;
|
2001-02-24 20:28:24 +00:00
|
|
|
HINSTANCE hInstModule; /* NULL if global */
|
|
|
|
DWORD dwProcessID; /* ID of process which installed a local driver */
|
|
|
|
WIN_BOOL bEnabled;
|
|
|
|
PWINE_ACMDRIVER pACMDriverList;
|
|
|
|
PWINE_ACMDRIVERID pNextACMDriverID;
|
|
|
|
PWINE_ACMDRIVERID pPrevACMDriverID;
|
|
|
|
} WINE_ACMDRIVERID;
|
|
|
|
|
|
|
|
/* From internal.c */
|
|
|
|
extern HANDLE MSACM_hHeap;
|
|
|
|
extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
|
|
|
|
extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
|
2002-09-13 19:43:17 +00:00
|
|
|
|
|
|
|
PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
|
|
|
|
WORD wFormatTag,
|
2001-10-04 02:21:47 +00:00
|
|
|
HINSTANCE hinstModule);
|
2001-02-24 20:28:24 +00:00
|
|
|
PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
|
|
|
|
void MSACM_UnregisterAllDrivers(void);
|
|
|
|
PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
|
|
|
|
PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
|
|
|
|
PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
|
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_WINEACM_H */
|