23 lines
455 B
C
23 lines
455 B
C
/* steamproxy.c - A Windows program for Linux
|
|
|
|
Useful as a wrapper to execute a Linux binary from Windows, and block on its
|
|
return (i.e. getting the Linux system() functionality for Linux binaries from
|
|
inside Windows binaries, such as Steam)
|
|
|
|
compile it with:
|
|
|
|
make
|
|
|
|
|
|
*/
|
|
|
|
#include <windows.h>
|
|
#include <stdlib.h>
|
|
|
|
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
|
{
|
|
system(lpCmdLine);
|
|
|
|
return 0;
|
|
}
|