Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d5816d22
Commit
d5816d22
authored
Mar 17, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unnecessary uses of windowsx.h
parent
417067bb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
10 deletions
+7
-10
edit.c
dlls/user/tests/edit.c
+3
-2
group.c
programs/progman/group.c
+0
-1
main.c
programs/progman/main.c
+0
-1
program.c
programs/progman/program.c
+0
-1
audio.c
programs/winecfg/audio.c
+4
-5
No files found.
dlls/user/tests/edit.c
View file @
d5816d22
...
...
@@ -20,7 +20,6 @@
#include <assert.h>
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include "wine/test.h"
...
...
@@ -278,7 +277,9 @@ static void ET2_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
static
LRESULT
CALLBACK
ET2_WndProc
(
HWND
hwnd
,
UINT
iMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
iMsg
)
{
HANDLE_MSG
(
hwnd
,
WM_COMMAND
,
ET2_OnCommand
);
case
WM_COMMAND
:
ET2_OnCommand
(
hwnd
,
LOWORD
(
wParam
),
(
HWND
)
lParam
,
HIWORD
(
wParam
));
break
;
}
return
DefWindowProc
(
hwnd
,
iMsg
,
wParam
,
lParam
);
}
...
...
programs/progman/group.c
View file @
d5816d22
...
...
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <string.h>
#include "windows.h"
#include "windowsx.h"
#include "progman.h"
/***********************************************************************
...
...
programs/progman/main.c
View file @
d5816d22
...
...
@@ -22,7 +22,6 @@
#include <stdio.h>
#include <string.h>
#include "windows.h"
#include "windowsx.h"
#include "progman.h"
GLOBALS
Globals
;
...
...
programs/progman/program.c
View file @
d5816d22
...
...
@@ -22,7 +22,6 @@
#include <string.h>
#include "windows.h"
#include "windowsx.h"
#include "progman.h"
/***********************************************************************
...
...
programs/winecfg/audio.c
View file @
d5816d22
...
...
@@ -38,7 +38,6 @@
#include <shlguid.h>
#include <shlwapi.h>
#include <shlobj.h>
#include <windowsx.h>
#include <mmsystem.h>
#include <mmreg.h>
#include <mmddk.h>
...
...
@@ -699,8 +698,8 @@ AudioDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
DWORD
dwPos
=
GetMessagePos
();
HWND
tree
=
((
LPNMHDR
)
lParam
)
->
hwndFrom
;
ZeroMemory
(
&
ht
,
sizeof
(
ht
));
ht
.
pt
.
x
=
GET_X_LPARAM
(
dwPos
);
ht
.
pt
.
y
=
GET_Y_LPARAM
(
dwPos
);
ht
.
pt
.
x
=
(
short
)
LOWORD
(
dwPos
);
ht
.
pt
.
y
=
(
short
)
HIWORD
(
dwPos
);
MapWindowPoints
(
HWND_DESKTOP
,
tree
,
&
ht
.
pt
,
1
);
SendMessageW
(
tree
,
TVM_HITTEST
,
0
,
(
LPARAM
)
&
ht
);
if
(
TVHT_ONITEMSTATEICON
&
ht
.
flags
)
...
...
@@ -735,8 +734,8 @@ AudioDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND
tree
=
((
LPNMHDR
)
lParam
)
->
hwndFrom
;
POINT
pt
;
ZeroMemory
(
&
ht
,
sizeof
(
ht
));
pt
.
x
=
GET_X_LPARAM
(
dwPos
);
pt
.
y
=
GET_Y_LPARAM
(
dwPos
);
pt
.
x
=
(
short
)
LOWORD
(
dwPos
);
pt
.
y
=
(
short
)
HIWORD
(
dwPos
);
ht
.
pt
=
pt
;
MapWindowPoints
(
HWND_DESKTOP
,
tree
,
&
ht
.
pt
,
1
);
SendMessageW
(
tree
,
TVM_HITTEST
,
0
,
(
LPARAM
)
&
ht
);
...
...
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