Makefile: Move and comment the .SUFFIXES rule
[mplayer/greg.git] / loader / wineacm.h
blob1acfb0c55dcdd6ea90165d26f08182d1de10dea8
1 #ifndef MPLAYER_WINEACM_H
2 #define MPLAYER_WINEACM_H
3 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
5 /***********************************************************************
6 * Wine specific - Win32
7 */
10 #include "wine/msacmdrv.h"
12 typedef struct WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
13 typedef struct WINE_ACMDRIVER *PWINE_ACMDRIVER;
15 typedef struct WINE_ACMOBJ
17 PWINE_ACMDRIVERID pACMDriverID;
18 } WINE_ACMOBJ, *PWINE_ACMOBJ;
20 typedef struct WINE_ACMDRIVER
22 WINE_ACMOBJ obj;
23 HDRVR hDrvr;
24 DRIVERPROC pfnDriverProc;
25 PWINE_ACMDRIVER pNextACMDriver;
26 int iUsage;
27 } WINE_ACMDRIVER;
29 typedef struct WINE_ACMSTREAM
31 WINE_ACMOBJ obj;
32 PWINE_ACMDRIVER pDrv;
33 ACMDRVSTREAMINSTANCE drvInst;
34 HACMDRIVER hAcmDriver;
35 } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
37 typedef struct WINE_ACMDRIVERID
39 LPSTR pszFileName;
40 WORD wFormatTag;
41 HINSTANCE hInstModule; /* NULL if global */
42 DWORD dwProcessID; /* ID of process which installed a local driver */
43 WIN_BOOL bEnabled;
44 PWINE_ACMDRIVER pACMDriverList;
45 PWINE_ACMDRIVERID pNextACMDriverID;
46 PWINE_ACMDRIVERID pPrevACMDriverID;
47 } WINE_ACMDRIVERID;
49 /* From internal.c */
50 extern HANDLE MSACM_hHeap;
51 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
52 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
54 PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
55 WORD wFormatTag,
56 HINSTANCE hinstModule);
57 PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
58 void MSACM_UnregisterAllDrivers(void);
59 PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
60 PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
61 PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
63 #endif /* MPLAYER_WINEACM_H */