2008-02-23 15:50:55 +01:00
|
|
|
#ifndef MPLAYER_WINEACM_H
|
|
|
|
#define MPLAYER_WINEACM_H
|
2001-02-24 21:28:24 +01:00
|
|
|
/* -*- tab-width: 8; c-basic-offset: 4 -*- */
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Wine specific - Win32
|
|
|
|
*/
|
2002-09-13 21:43:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
#include "wine/msacmdrv.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
|
|
|
|
2008-01-20 18:16:39 +01:00
|
|
|
typedef struct WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
|
|
|
|
typedef struct WINE_ACMDRIVER *PWINE_ACMDRIVER;
|
2001-02-24 21:28:24 +01:00
|
|
|
|
2008-01-20 18:16:39 +01:00
|
|
|
typedef struct WINE_ACMOBJ
|
2001-02-24 21:28:24 +01:00
|
|
|
{
|
|
|
|
PWINE_ACMDRIVERID pACMDriverID;
|
|
|
|
} WINE_ACMOBJ, *PWINE_ACMOBJ;
|
|
|
|
|
2008-01-20 18:16:39 +01:00
|
|
|
typedef struct WINE_ACMDRIVER
|
2001-02-24 21:28:24 +01:00
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
HDRVR hDrvr;
|
|
|
|
DRIVERPROC pfnDriverProc;
|
|
|
|
PWINE_ACMDRIVER pNextACMDriver;
|
2002-09-13 21:43:17 +02:00
|
|
|
int iUsage;
|
2001-02-24 21:28:24 +01:00
|
|
|
} WINE_ACMDRIVER;
|
|
|
|
|
2008-01-20 18:16:39 +01:00
|
|
|
typedef struct WINE_ACMSTREAM
|
2001-02-24 21:28:24 +01:00
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
PWINE_ACMDRIVER pDrv;
|
|
|
|
ACMDRVSTREAMINSTANCE drvInst;
|
|
|
|
HACMDRIVER hAcmDriver;
|
|
|
|
} WINE_ACMSTREAM, *PWINE_ACMSTREAM;
|
|
|
|
|
2008-01-20 18:16:39 +01:00
|
|
|
typedef struct WINE_ACMDRIVERID
|
2001-02-24 21:28:24 +01:00
|
|
|
{
|
|
|
|
LPSTR pszFileName;
|
2002-09-13 21:43:17 +02:00
|
|
|
WORD wFormatTag;
|
2001-02-24 21:28:24 +01: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 21:43:17 +02:00
|
|
|
|
|
|
|
PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
|
|
|
|
WORD wFormatTag,
|
2001-10-04 04:21:47 +02:00
|
|
|
HINSTANCE hinstModule);
|
2001-02-24 21:28:24 +01: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);
|
|
|
|
|
2002-09-13 21:43:17 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
2008-02-23 15:50:55 +01:00
|
|
|
#endif /* MPLAYER_WINEACM_H */
|