Mercurial > mplayer.hg
annotate loader/win32.h @ 8881:1e40d4a2466f
Function DVDOpenVOBPath only decrypts first VOB file and since each VOB file has
separate structure for title key, all other title keys remains empty. My
fix is very conservative and simply tries to find title key for every VOB file.
Tomas Hurka <tom@hukatronic.cz>
author | arpi |
---|---|
date | Fri, 10 Jan 2003 22:48:49 +0000 |
parents | 174e2a58b4cd |
children | 792eec413bd5 |
rev | line source |
---|---|
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
1 #ifndef loader_win32_h |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
2 #define loader_win32_h |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
3 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
4 #include <time.h> |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
5 |
7386 | 6 #include "wine/windef.h" |
7 #include "wine/winbase.h" | |
8 #include "com.h" | |
9 | |
10 #ifdef AVIFILE | |
11 #ifdef __GNUC__ | |
12 #include "avm_output.h" | |
13 #ifndef __cplusplus | |
14 #define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__) | |
15 #endif | |
16 #endif | |
17 #endif | |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
18 |
2069 | 19 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
|
20 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
21 typedef struct { |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
22 UINT uDriverSignature; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
23 HINSTANCE hDriverModule; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
24 DRIVERPROC DriverProc; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
25 DWORD dwDriverID; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
26 } DRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
27 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
28 typedef DRVR *PDRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
29 typedef DRVR *NPDRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
30 typedef DRVR *LPDRVR; |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
31 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
32 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
|
33 |
2139 | 34 |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
35 extern void* LookupExternal(const char* library, int ordinal); |
2069 | 36 extern void* LookupExternalByName(const char* library, const char* name); |
7386 | 37 extern int expRegisterClassA(const void/*WNDCLASSA*/ *wc); |
38 extern int expUnregisterClassA(const char *className, HINSTANCE hInstance); | |
2139 | 39 |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
1
diff
changeset
|
40 #endif |