This repository has been archived on 2019-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
steamproxy/steamproxy.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;
}