annotate loader/wineacm.h @ 36984:3f3a415d605b

Move most of TranslateFilename() back to the renderer files. Although it would be nice to share the code (which was the reason for r34263), most of it really doesn't belong to string.c.
author ib
date Thu, 27 Mar 2014 01:49:01 +0000
parents 4c2bbab833d1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
1 #ifndef MPLAYER_WINEACM_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
2 #define MPLAYER_WINEACM_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 * Wine specific - Win32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 */
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
7
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
8
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
9 #include "wine/msacmdrv.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 PWINE_ACMDRIVERID pACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 } WINE_ACMOBJ, *PWINE_ACMOBJ;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 WINE_ACMOBJ obj;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 HDRVR hDrvr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 DRIVERPROC pfnDriverProc;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 PWINE_ACMDRIVER pNextACMDriver;
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
25 int iUsage;
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 } WINE_ACMDRIVER;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 WINE_ACMOBJ obj;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 PWINE_ACMDRIVER pDrv;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 ACMDRVSTREAMINSTANCE drvInst;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 HACMDRIVER hAcmDriver;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 LPSTR pszFileName;
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
39 WORD wFormatTag;
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 HINSTANCE hInstModule; /* NULL if global */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 DWORD dwProcessID; /* ID of process which installed a local driver */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 WIN_BOOL bEnabled;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 PWINE_ACMDRIVER pACMDriverList;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 PWINE_ACMDRIVERID pNextACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 PWINE_ACMDRIVERID pPrevACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 } WINE_ACMDRIVERID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 /* From internal.c */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 extern HANDLE MSACM_hHeap;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
52
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
53 PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
54 WORD wFormatTag,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
55 HINSTANCE hinstModule);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 void MSACM_UnregisterAllDrivers(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
62 #endif /* MPLAYER_WINEACM_H */