medfall

A super great game engine
Log | Files | Refs

elevate_for_update.cc (211B)


      1 #include <windows.h>
      2 
      3 #include "win32_exec.h"
      4 
      5 int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, char * szCmdLine, int iCmdShow ) {
      6 	exec_and_quit( "launch.exe", "--start-update" );
      7 	return 1;
      8 }