programs: Use WIN32_LEAN_AND_MEAN in some more places.

This commit is contained in:
Mike McCormack 2006-01-16 20:41:34 +01:00 committed by Alexandre Julliard
parent cb6983fb30
commit 7d66567253
16 changed files with 31 additions and 1 deletions

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <string.h>
#include <windows.h>
@ -27,7 +29,7 @@ extern void WINAPI Control_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD
static void launch(const char *what)
{
Control_RunDLL(GetDesktopWindow(), 0, what, SW_SHOW);
exit(0);
ExitProcess(0);
}
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpszCmdLine, INT nCmdShow)

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include "config.h"
#include <windows.h>

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <string.h>
#include <windows.h>

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <msi.h>
#include <objbase.h>

View File

@ -20,6 +20,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include "commdlg.h"
#include "progman.h"

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <string.h>
#include "windows.h"

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include "wine/winuser16.h"
#include "progman.h"

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include <string.h>
#include "windows.h"
#include "windowsx.h"

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include "progman.h"

View File

@ -32,6 +32,8 @@
* - Messages etc need international support
*/
#define WIN32_LEAN_AND_MEAN
#include "wcmd.h"
void WCMD_execute (char *orig_command, char *parameter, char *substitution);

View File

@ -27,6 +27,8 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define WIN32_LEAN_AND_MEAN
#include "wcmd.h"
int WCMD_dir_sort (const void *a, const void *b);

View File

@ -21,6 +21,7 @@
*
*/
#define WIN32_LEAN_AND_MEAN
#define NONAMELESSUNION
#include <windows.h>
#include <commdlg.h>

View File

@ -21,6 +21,7 @@
*/
#define NONAMELESSUNION
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commdlg.h>
#include <wine/debug.h>

View File

@ -20,6 +20,8 @@
*
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "properties.h"

View File

@ -20,6 +20,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define WIN32_LEAN_AND_MEAN
#include "config.h"
#include <windows.h>