Mercurial > mplayer.hg
annotate loader/wineacm.h @ 36802:621b61818a0f
configure: add -Zhigh-mem linker flag for OS/2
x264 encoder crashes due to memory allocation failure. This fixes the problem.
author | komh |
---|---|
date | Thu, 20 Feb 2014 13:59:34 +0000 |
parents | 4c2bbab833d1 |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_WINEACM_H |
2 #define MPLAYER_WINEACM_H | |
1 | 3 |
4 /*********************************************************************** | |
5 * Wine specific - Win32 | |
6 */ | |
7386 | 7 |
8 | |
9 #include "wine/msacmdrv.h" | |
10 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
7386
diff
changeset
|
11 typedef struct WINE_ACMDRIVERID *PWINE_ACMDRIVERID; |
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
7386
diff
changeset
|
12 typedef struct WINE_ACMDRIVER *PWINE_ACMDRIVER; |
1 | 13 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
7386
diff
changeset
|
14 typedef struct WINE_ACMOBJ |
1 | 15 { |
16 PWINE_ACMDRIVERID pACMDriverID; | |
17 } WINE_ACMOBJ, *PWINE_ACMOBJ; | |
18 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
7386
diff
changeset
|
19 typedef struct WINE_ACMDRIVER |
1 | 20 { |
21 WINE_ACMOBJ obj; | |
22 HDRVR hDrvr; | |
23 DRIVERPROC pfnDriverProc; | |
24 PWINE_ACMDRIVER pNextACMDriver; | |
7386 | 25 int iUsage; |
1 | 26 } WINE_ACMDRIVER; |
27 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
7386
diff
changeset
|
28 typedef struct WINE_ACMSTREAM |
1 | 29 { |
30 WINE_ACMOBJ obj; | |
31 PWINE_ACMDRIVER pDrv; | |
32 ACMDRVSTREAMINSTANCE drvInst; | |
33 HACMDRIVER hAcmDriver; | |
34 } WINE_ACMSTREAM, *PWINE_ACMSTREAM; | |
35 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
7386
diff
changeset
|
36 typedef struct WINE_ACMDRIVERID |
1 | 37 { |
38 LPSTR pszFileName; | |
7386 | 39 WORD wFormatTag; |
1 | 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; | |
47 | |
48 /* From internal.c */ | |
49 extern HANDLE MSACM_hHeap; | |
50 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID; | |
51 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID; | |
7386 | 52 |
53 PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName, | |
54 WORD wFormatTag, | |
2069 | 55 HINSTANCE hinstModule); |
1 | 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); | |
61 | |
26045 | 62 #endif /* MPLAYER_WINEACM_H */ |