| launcher.cxx (2722cedd) | launcher.cxx (07a3d7f1) |
|---|---|
| 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 36 unchanged lines hidden (view full) --- 45 46 47#ifdef __MINGW32__ 48extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) 49#else 50extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) 51#endif 52{ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 36 unchanged lines hidden (view full) --- 45 46 47#ifdef __MINGW32__ 48extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) 49#else 50extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) 51#endif 52{ |
| 53 // Retreive startup info | 53 // Retrieve startup info |
| 54 55 STARTUPINFO aStartupInfo; 56 57 ZeroMemory( &aStartupInfo, sizeof(aStartupInfo) ); 58 aStartupInfo.cb = sizeof( aStartupInfo ); 59 GetStartupInfo( &aStartupInfo ); 60 61 // Retrieve command line --- 81 unchanged lines hidden --- | 54 55 STARTUPINFO aStartupInfo; 56 57 ZeroMemory( &aStartupInfo, sizeof(aStartupInfo) ); 58 aStartupInfo.cb = sizeof( aStartupInfo ); 59 GetStartupInfo( &aStartupInfo ); 60 61 // Retrieve command line --- 81 unchanged lines hidden --- |