view loader/win32.h @ 20769:c2c578148d71

r20774: Adding ability to check allowed frequency range. r20775: Spelling fix: Allowable -> Allowed r20780: MSGTRs for ao_alsa.c r20781: MSGTRs for libvo/aspect.c and libvo/vo_xv.c r20782: remove duplicate MSGTR r20783: 11l, revert r20782 typo fixed
author voroshil
date Wed, 08 Nov 2006 17:36:49 +0000
parents 0783dd397f74
children 53ca44efadce
line wrap: on
line source

/*
 * Modified for use with MPlayer, detailed changelog at
 * http://svn.mplayerhq.hu/mplayer/trunk/
 * $Id$
 */

#ifndef loader_win32_h
#define loader_win32_h

#include <time.h>

#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

extern void my_garbagecollection(void);

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;


extern void* LookupExternal(const char* library, int ordinal);
extern void* LookupExternalByName(const char* library, const char* name);

#endif