annotate loader/wineacm.h @ 31223:4031008a248c

Change code to let Window Manager chose window location by default.
author reimar
date Sun, 30 May 2010 19:14:18 +0000
parents 26f673ba0675
children 4c2bbab833d1
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 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 * Wine specific - Win32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 */
7386
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
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
10 #include "wine/msacmdrv.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
11
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 7386
diff changeset
12 typedef struct WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 7386
diff changeset
13 typedef struct WINE_ACMDRIVER *PWINE_ACMDRIVER;
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 7386
diff changeset
15 typedef struct WINE_ACMOBJ
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 PWINE_ACMDRIVERID pACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 } WINE_ACMOBJ, *PWINE_ACMOBJ;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 7386
diff changeset
20 typedef struct WINE_ACMDRIVER
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 WINE_ACMOBJ obj;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 HDRVR hDrvr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 DRIVERPROC pfnDriverProc;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 PWINE_ACMDRIVER pNextACMDriver;
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
26 int iUsage;
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 } WINE_ACMDRIVER;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 7386
diff changeset
29 typedef struct WINE_ACMSTREAM
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 WINE_ACMOBJ obj;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 PWINE_ACMDRIVER pDrv;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 ACMDRVSTREAMINSTANCE drvInst;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 HACMDRIVER hAcmDriver;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 7386
diff changeset
37 typedef struct WINE_ACMDRIVERID
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 LPSTR pszFileName;
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
40 WORD wFormatTag;
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 HINSTANCE hInstModule; /* NULL if global */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 DWORD dwProcessID; /* ID of process which installed a local driver */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 WIN_BOOL bEnabled;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 PWINE_ACMDRIVER pACMDriverList;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 PWINE_ACMDRIVERID pNextACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 PWINE_ACMDRIVERID pPrevACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 } WINE_ACMDRIVERID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 /* From internal.c */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 extern HANDLE MSACM_hHeap;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
53
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
54 PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2069
diff changeset
55 WORD wFormatTag,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
56 HINSTANCE hinstModule);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 void MSACM_UnregisterAllDrivers(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25794
diff changeset
63 #endif /* MPLAYER_WINEACM_H */