view loader/win32.h @ 20799:7e2bc0167fd1

r20657: (does not apply) r20658: (cosmetics) Unify and clarify blank lines usage r20682: (does not apply) r20683: mention :tsaf on every instance of -mpegopts format=dvd r20699: (does not apply) r20700: A bunch of missing <systemitem class="library"> tags r20701: Don't break a paragraph in a middle of a thought r20702: (does not apply) r20703: Better wording, especially if hyperlinks are not visible r20704: Better URL markup r20705: Unify ./configure script handling r20739: Remove remnants of long-gone libfame.
author kraymer
date Thu, 09 Nov 2006 15:05:51 +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