Mercurial > mplayer.hg
annotate loader/win32.h @ 24607:965e0c3565bf
Revert wrong ARCH_BFIN --> HAVE_BFIN change.
author | diego |
---|---|
date | Thu, 27 Sep 2007 08:00:22 +0000 |
parents | 53ca44efadce |
children | b70f5ac9c001 |
rev | line source |
---|---|
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
12066
diff
changeset
|
1 /* |
18783 | 2 * Modified for use with MPlayer, detailed changelog at |
3 * http://svn.mplayerhq.hu/mplayer/trunk/ | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
12066
diff
changeset
|
4 * $Id$ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
12066
diff
changeset
|
5 */ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
12066
diff
changeset
|
6 |
24419
53ca44efadce
cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.
diego
parents:
18783
diff
changeset
|
7 #ifndef LOADER_WIN32_H |
53ca44efadce
cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.
diego
parents:
18783
diff
changeset
|
8 #define LOADER_WIN32_H |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
9 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
10 #include <time.h> |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
11 |
7386 | 12 #include "wine/windef.h" |
13 #include "wine/winbase.h" | |
14 #include "com.h" | |
15 | |
16 #ifdef AVIFILE | |
17 #ifdef __GNUC__ | |
18 #include "avm_output.h" | |
19 #ifndef __cplusplus | |
20 #define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__) | |
21 #endif | |
22 #endif | |
23 #endif | |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
24 |
2069 | 25 extern void my_garbagecollection(void); |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
26 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
27 typedef struct { |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
28 UINT uDriverSignature; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
29 HINSTANCE hDriverModule; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
30 DRIVERPROC DriverProc; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
31 DWORD dwDriverID; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
32 } DRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
33 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
34 typedef DRVR *PDRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
35 typedef DRVR *NPDRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
36 typedef DRVR *LPDRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
37 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
38 typedef struct tls_s tls_t; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
39 |
2139 | 40 |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
41 extern void* LookupExternal(const char* library, int ordinal); |
2069 | 42 extern void* LookupExternalByName(const char* library, const char* name); |
2139 | 43 |
24419
53ca44efadce
cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.
diego
parents:
18783
diff
changeset
|
44 #endif /* LOADER_WIN32_H */ |