2005-04-15 20:17:14 +00:00
|
|
|
/*
|
|
|
|
* Modified for use with MPlayer, detailed CVS changelog at
|
|
|
|
* http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
|
|
|
|
* $Id$
|
|
|
|
*/
|
|
|
|
|
2001-07-12 15:27:48 +00:00
|
|
|
#ifndef loader_win32_h
|
|
|
|
#define loader_win32_h
|
|
|
|
|
|
|
|
#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
|
|
|
|
2001-07-12 15:27:48 +00:00
|
|
|
#endif
|