Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7d665672
Commit
7d665672
authored
Jan 16, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programs: Use WIN32_LEAN_AND_MEAN in some more places.
parent
cb6983fb
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
31 additions
and
1 deletion
+31
-1
control.c
programs/control/control.c
+3
-1
eject.c
programs/eject/eject.c
+2
-0
expand.c
programs/expand/expand.c
+2
-0
main.c
programs/hh/main.c
+2
-0
msiexec.c
programs/msiexec/msiexec.c
+2
-0
dialog.c
programs/progman/dialog.c
+2
-0
group.c
programs/progman/group.c
+2
-0
grpfile.c
programs/progman/grpfile.c
+2
-0
program.c
programs/progman/program.c
+2
-0
string.c
programs/progman/string.c
+2
-0
builtins.c
programs/wcmd/builtins.c
+2
-0
directory.c
programs/wcmd/directory.c
+2
-0
appdefaults.c
programs/winecfg/appdefaults.c
+1
-0
libraries.c
programs/winecfg/libraries.c
+1
-0
properties.c
programs/winecfg/properties.c
+2
-0
winepath.c
programs/winepath/winepath.c
+2
-0
No files found.
programs/control/control.c
View file @
7d665672
...
...
@@ -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
)
...
...
programs/eject/eject.c
View file @
7d665672
...
...
@@ -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>
...
...
programs/expand/expand.c
View file @
7d665672
...
...
@@ -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>
...
...
programs/hh/main.c
View file @
7d665672
...
...
@@ -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
);
...
...
programs/msiexec/msiexec.c
View file @
7d665672
...
...
@@ -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>
...
...
programs/progman/dialog.c
View file @
7d665672
...
...
@@ -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"
...
...
programs/progman/group.c
View file @
7d665672
...
...
@@ -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"
...
...
programs/progman/grpfile.c
View file @
7d665672
...
...
@@ -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"
...
...
programs/progman/program.c
View file @
7d665672
...
...
@@ -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"
...
...
programs/progman/string.c
View file @
7d665672
...
...
@@ -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"
...
...
programs/wcmd/builtins.c
View file @
7d665672
...
...
@@ -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
);
...
...
programs/wcmd/directory.c
View file @
7d665672
...
...
@@ -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
);
...
...
programs/winecfg/appdefaults.c
View file @
7d665672
...
...
@@ -21,6 +21,7 @@
*
*/
#define WIN32_LEAN_AND_MEAN
#define NONAMELESSUNION
#include <windows.h>
#include <commdlg.h>
...
...
programs/winecfg/libraries.c
View file @
7d665672
...
...
@@ -21,6 +21,7 @@
*/
#define NONAMELESSUNION
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commdlg.h>
#include <wine/debug.h>
...
...
programs/winecfg/properties.c
View file @
7d665672
...
...
@@ -20,6 +20,8 @@
*
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "properties.h"
...
...
programs/winepath/winepath.c
View file @
7d665672
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment