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
002e1439
Commit
002e1439
authored
Jan 18, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programs: Use WIN32_LEAN_AND_MEAN.
parent
736cd603
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
2 deletions
+11
-2
license.c
programs/notepad/license.c
+1
-0
regsvr32.c
programs/regsvr32/regsvr32.c
+4
-2
main.c
programs/winebrowser/main.c
+2
-0
callback.c
programs/winhelp/callback.c
+2
-0
macro.c
programs/winhelp/macro.c
+2
-0
No files found.
programs/notepad/license.c
View file @
002e1439
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windows.h>
#include "license.h"
#include "license.h"
...
...
programs/regsvr32/regsvr32.c
View file @
002e1439
...
@@ -45,6 +45,8 @@
...
@@ -45,6 +45,8 @@
* support.
* support.
*/
*/
#define WIN32_LEAN_AND_MEAN
#include "config.h"
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
...
@@ -88,7 +90,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
...
@@ -88,7 +90,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
if
(
!
Silent
)
if
(
!
Silent
)
printf
(
"Failed to load DLL %s
\n
"
,
strDll
);
printf
(
"Failed to load DLL %s
\n
"
,
strDll
);
exit
(
-
1
);
ExitProcess
(
1
);
}
}
proc
=
(
VOID
*
)
GetProcAddress
(
*
DllHandle
,
procName
);
proc
=
(
VOID
*
)
GetProcAddress
(
*
DllHandle
,
procName
);
if
(
!
proc
)
if
(
!
proc
)
...
@@ -96,7 +98,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
...
@@ -96,7 +98,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
if
(
!
Silent
)
if
(
!
Silent
)
printf
(
"%s not implemented in DLL %s
\n
"
,
procName
,
strDll
);
printf
(
"%s not implemented in DLL %s
\n
"
,
procName
,
strDll
);
FreeLibrary
(
*
DllHandle
);
FreeLibrary
(
*
DllHandle
);
exit
(
-
1
);
ExitProcess
(
1
);
}
}
return
proc
;
return
proc
;
}
}
...
...
programs/winebrowser/main.c
View file @
002e1439
...
@@ -35,6 +35,8 @@
...
@@ -35,6 +35,8 @@
* mailto:[E-MAIL]?subject=[TOPIC]&cc=[E-MAIL]&bcc=[E-MAIL]&body=[TEXT]
* mailto:[E-MAIL]?subject=[TOPIC]&cc=[E-MAIL]&bcc=[E-MAIL]&body=[TEXT]
*/
*/
#define WIN32_LEAN_AND_MEAN
#include "config.h"
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
...
...
programs/winhelp/callback.c
View file @
002e1439
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <stdio.h>
#include "windows.h"
#include "windows.h"
...
...
programs/winhelp/macro.c
View file @
002e1439
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <stdio.h>
#include "windows.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