| 1 |
/************************************************************************ |
| 2 |
|
| 3 |
This file is a part of the wrapper program for launching scripts |
| 4 |
and programs in TeX Live on Windows. See readme.txt for more details. |
| 5 |
|
| 6 |
This file was originally written in 2009 by Tomasz M. Trzeciak and |
| 7 |
was placed in the Public Domain. |
| 8 |
|
| 9 |
************************************************************************/ |
| 10 |
|
| 11 |
#include <windows.h> |
| 12 |
|
| 13 |
__declspec(dllimport) int dllwrunscript( |
| 14 |
HINSTANCE hInstance, |
| 15 |
HINSTANCE hPrevInstance, |
| 16 |
char *argline, |
| 17 |
int winshow |
| 18 |
); |
| 19 |
|
| 20 |
int APIENTRY WinMain( |
| 21 |
HINSTANCE hInstance, |
| 22 |
HINSTANCE hPrevInstance, |
| 23 |
char *argline, |
| 24 |
int winshow |
| 25 |
){ |
| 26 |
return dllwrunscript( hInstance, hPrevInstance, argline, winshow ); |
| 27 |
} |