x11_common: always free x11 context struct on exit
[mplayer/glamo.git] / loader / win32.h
blob1e90827da0da7db054eb5f93e3ab1885a72a0321
1 /*
2 * Modified for use with MPlayer, detailed changelog at
3 * http://svn.mplayerhq.hu/mplayer/trunk/
4 */
6 #ifndef MPLAYER_WIN32_H
7 #define MPLAYER_WIN32_H
9 #include <time.h>
11 #include "wine/windef.h"
12 #include "wine/winbase.h"
13 #include "com.h"
15 #ifdef AVIFILE
16 #ifdef __GNUC__
17 #include "avm_output.h"
18 #ifndef __cplusplus
19 #define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__)
20 #endif
21 #endif
22 #endif
24 void my_garbagecollection(void);
26 typedef struct {
27 UINT uDriverSignature;
28 HINSTANCE hDriverModule;
29 DRIVERPROC DriverProc;
30 DWORD dwDriverID;
31 } DRVR;
33 typedef DRVR *PDRVR;
34 typedef DRVR *NPDRVR;
35 typedef DRVR *LPDRVR;
37 typedef struct tls_s tls_t;
40 void* LookupExternal(const char* library, int ordinal);
41 void* LookupExternalByName(const char* library, const char* name);
43 #endif /* MPLAYER_WIN32_H */