subs: move text sub loading logic down to find_subfiles.c
[mplayer/greg.git] / loader / wineacm.h
blobeb23146dea58e61239aecba01d47020ffd6676a1
1 #ifndef MPLAYER_WINEACM_H
2 #define MPLAYER_WINEACM_H
4 /***********************************************************************
5 * Wine specific - Win32
6 */
9 #include "wine/msacmdrv.h"
11 typedef struct WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
12 typedef struct WINE_ACMDRIVER *PWINE_ACMDRIVER;
14 typedef struct WINE_ACMOBJ
16 PWINE_ACMDRIVERID pACMDriverID;
17 } WINE_ACMOBJ, *PWINE_ACMOBJ;
19 typedef struct WINE_ACMDRIVER
21 WINE_ACMOBJ obj;
22 HDRVR hDrvr;
23 DRIVERPROC pfnDriverProc;
24 PWINE_ACMDRIVER pNextACMDriver;
25 int iUsage;
26 } WINE_ACMDRIVER;
28 typedef struct WINE_ACMSTREAM
30 WINE_ACMOBJ obj;
31 PWINE_ACMDRIVER pDrv;
32 ACMDRVSTREAMINSTANCE drvInst;
33 HACMDRIVER hAcmDriver;
34 } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
36 typedef struct WINE_ACMDRIVERID
38 LPSTR pszFileName;
39 WORD wFormatTag;
40 HINSTANCE hInstModule; /* NULL if global */
41 DWORD dwProcessID; /* ID of process which installed a local driver */
42 WIN_BOOL bEnabled;
43 PWINE_ACMDRIVER pACMDriverList;
44 PWINE_ACMDRIVERID pNextACMDriverID;
45 PWINE_ACMDRIVERID pPrevACMDriverID;
46 } WINE_ACMDRIVERID;
48 /* From internal.c */
49 extern HANDLE MSACM_hHeap;
50 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
51 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
53 PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
54 WORD wFormatTag,
55 HINSTANCE hinstModule);
56 PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
57 void MSACM_UnregisterAllDrivers(void);
58 PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
59 PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
60 PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
62 #endif /* MPLAYER_WINEACM_H */