|
Revision 066e58dd3454554fed6dad53fd2513736087720d, 0.9 kB
(checked in by Rémi Denis-Courmont <rem@videolan.org>, 1 year ago)
|
Create a modules-like directory for libraries
that are not plugins neither in the core
|
- Property mode set to
100644
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
#ifndef loader_win32_h |
|---|
| 8 |
#define loader_win32_h |
|---|
| 9 |
|
|---|
| 10 |
#include <time.h> |
|---|
| 11 |
|
|---|
| 12 |
#include "wine/windef.h" |
|---|
| 13 |
#include "wine/winbase.h" |
|---|
| 14 |
#include "com.h" |
|---|
| 15 |
|
|---|
| 16 |
#ifdef AVIFILE |
|---|
| 17 |
#ifdef __GNUC__ |
|---|
| 18 |
#include "avm_output.h" |
|---|
| 19 |
#ifndef __cplusplus |
|---|
| 20 |
#define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__) |
|---|
| 21 |
#endif |
|---|
| 22 |
#endif |
|---|
| 23 |
#endif |
|---|
| 24 |
|
|---|
| 25 |
extern void my_garbagecollection(void); |
|---|
| 26 |
|
|---|
| 27 |
typedef struct { |
|---|
| 28 |
UINT uDriverSignature; |
|---|
| 29 |
HINSTANCE hDriverModule; |
|---|
| 30 |
DRIVERPROC DriverProc; |
|---|
| 31 |
DWORD dwDriverID; |
|---|
| 32 |
} DRVR; |
|---|
| 33 |
|
|---|
| 34 |
typedef DRVR *PDRVR; |
|---|
| 35 |
typedef DRVR *NPDRVR; |
|---|
| 36 |
typedef DRVR *LPDRVR; |
|---|
| 37 |
|
|---|
| 38 |
typedef struct tls_s tls_t; |
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
extern void* LookupExternal(const char* library, int ordinal); |
|---|
| 42 |
extern void* LookupExternalByName(const char* library, const char* name); |
|---|
| 43 |
|
|---|
| 44 |
#endif |
|---|