Second attempt to fix compilation of dvdread (I don't really like this but it might...
[vlc/asuraparaju-public.git] / libs / loader / win32.h
blob84dbf53e84475ffe8a5f8d752c03f80b1c2d9975
1 /*
2 * Modified for use with MPlayer, detailed CVS changelog at
3 * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
4 * $Id$
5 */
7 #ifndef loader_win32_h
8 #define loader_win32_h
10 #include <time.h>
12 #include "wine/windef.h"
13 #include "wine/winbase.h"
14 #include "com.h"
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
25 extern void my_garbagecollection(void);
27 typedef struct {
28 UINT uDriverSignature;
29 HINSTANCE hDriverModule;
30 DRIVERPROC DriverProc;
31 DWORD dwDriverID;
32 } DRVR;
34 typedef DRVR *PDRVR;
35 typedef DRVR *NPDRVR;
36 typedef DRVR *LPDRVR;
38 typedef struct tls_s tls_t;
41 extern void* LookupExternal(const char* library, int ordinal);
42 extern void* LookupExternalByName(const char* library, const char* name);
44 #endif