2005-04-15 20:17:14 +00:00
|
|
|
/*
|
2006-06-22 13:34:00 +00:00
|
|
|
* Modified for use with MPlayer, detailed changelog at
|
|
|
|
* http://svn.mplayerhq.hu/mplayer/trunk/
|
2005-04-15 20:17:14 +00:00
|
|
|
*/
|
|
|
|
|
2007-09-12 23:16:39 +00:00
|
|
|
#ifndef LOADER_WIN32_H
|
|
|
|
#define LOADER_WIN32_H
|
2001-07-12 15:27:48 +00:00
|
|
|
|
|
|
|
#include <time.h>
|
|
|
|
|
2002-09-13 19:43:17 +00:00
|
|
|
#include "wine/windef.h"
|
|
|
|
#include "wine/winbase.h"
|
|
|
|
#include "com.h"
|
|
|
|
|
|
|
|
#ifdef AVIFILE
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#include "avm_output.h"
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
2001-07-12 15:27:48 +00:00
|
|
|
|
2001-10-04 02:21:47 +00:00
|
|
|
extern void my_garbagecollection(void);
|
2001-07-12 15:27:48 +00:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
UINT uDriverSignature;
|
|
|
|
HINSTANCE hDriverModule;
|
|
|
|
DRIVERPROC DriverProc;
|
|
|
|
DWORD dwDriverID;
|
|
|
|
} DRVR;
|
|
|
|
|
|
|
|
typedef DRVR *PDRVR;
|
|
|
|
typedef DRVR *NPDRVR;
|
|
|
|
typedef DRVR *LPDRVR;
|
|
|
|
|
|
|
|
typedef struct tls_s tls_t;
|
|
|
|
|
2001-10-08 22:26:14 +00:00
|
|
|
|
2001-07-12 15:27:48 +00:00
|
|
|
extern void* LookupExternal(const char* library, int ordinal);
|
2001-10-04 02:21:47 +00:00
|
|
|
extern void* LookupExternalByName(const char* library, const char* name);
|
2001-10-08 22:26:14 +00:00
|
|
|
|
2007-09-12 23:16:39 +00:00
|
|
|
#endif /* LOADER_WIN32_H */
|