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
0c4fdeee
Commit
0c4fdeee
authored
Feb 11, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcpl.cpl: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2e38cb9e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
28 deletions
+27
-28
Makefile.in
dlls/inetcpl.cpl/Makefile.in
+0
-1
connections.c
dlls/inetcpl.cpl/connections.c
+3
-3
content.c
dlls/inetcpl.cpl/content.c
+2
-2
general.c
dlls/inetcpl.cpl/general.c
+4
-4
inetcpl.c
dlls/inetcpl.cpl/inetcpl.c
+3
-3
security.c
dlls/inetcpl.cpl/security.c
+15
-15
No files found.
dlls/inetcpl.cpl/Makefile.in
View file @
0c4fdeee
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
inetcpl.cpl
MODULE
=
inetcpl.cpl
IMPORTS
=
comctl32 shlwapi user32 advapi32
IMPORTS
=
comctl32 shlwapi user32 advapi32
DELAYIMPORTS
=
cryptui wininet ole32 urlmon shell32
DELAYIMPORTS
=
cryptui wininet ole32 urlmon shell32
...
...
dlls/inetcpl.cpl/connections.c
View file @
0c4fdeee
...
@@ -166,14 +166,14 @@ static void connections_on_initdialog(HWND hwnd)
...
@@ -166,14 +166,14 @@ static void connections_on_initdialog(HWND hwnd)
if
(
!
res
&&
type
==
REG_BINARY
)
if
(
!
res
&&
type
==
REG_BINARY
)
{
{
if
(
settings
->
version
!=
CONNECTION_SETTINGS_VERSION
)
if
(
settings
->
version
!=
CONNECTION_SETTINGS_VERSION
)
FIXME
(
"unexpected structure version (%x)
\n
"
,
settings
->
version
);
FIXME
(
"unexpected structure version (%
l
x)
\n
"
,
settings
->
version
);
else
if
(
settings
->
flags
&
CONNECTION_SETTINGS_WPAD
)
else
if
(
settings
->
flags
&
CONNECTION_SETTINGS_WPAD
)
CheckDlgButton
(
hwnd
,
IDC_USE_WPAD
,
BST_CHECKED
);
CheckDlgButton
(
hwnd
,
IDC_USE_WPAD
,
BST_CHECKED
);
}
}
heap_free
(
settings
);
heap_free
(
settings
);
}
}
TRACE
(
"ProxyEnable = %x
\n
"
,
enabled
);
TRACE
(
"ProxyEnable = %
l
x
\n
"
,
enabled
);
TRACE
(
"ProxyServer = %s
\n
"
,
wine_dbgstr_w
(
address
));
TRACE
(
"ProxyServer = %s
\n
"
,
wine_dbgstr_w
(
address
));
TRACE
(
"AutoConfigURL = %s
\n
"
,
wine_dbgstr_w
(
pac_url
));
TRACE
(
"AutoConfigURL = %s
\n
"
,
wine_dbgstr_w
(
pac_url
));
...
@@ -262,7 +262,7 @@ static INT_PTR connections_on_notify(HWND hwnd, WPARAM wparam, LPARAM lparam)
...
@@ -262,7 +262,7 @@ static INT_PTR connections_on_notify(HWND hwnd, WPARAM wparam, LPARAM lparam)
RegCloseKey
(
hkey
);
RegCloseKey
(
hkey
);
return
FALSE
;
return
FALSE
;
}
}
TRACE
(
"ProxyEnable set to %x
\n
"
,
use_proxy
);
TRACE
(
"ProxyEnable set to %
l
x
\n
"
,
use_proxy
);
proxy_len
=
GetDlgItemTextW
(
hwnd
,
IDC_EDIT_PROXY_SERVER
,
proxy
,
ARRAY_SIZE
(
proxy
));
proxy_len
=
GetDlgItemTextW
(
hwnd
,
IDC_EDIT_PROXY_SERVER
,
proxy
,
ARRAY_SIZE
(
proxy
));
if
(
proxy_len
)
if
(
proxy_len
)
...
...
dlls/inetcpl.cpl/content.c
View file @
0c4fdeee
...
@@ -40,7 +40,7 @@ static BOOL display_cert_manager(HWND parent, DWORD flags)
...
@@ -40,7 +40,7 @@ static BOOL display_cert_manager(HWND parent, DWORD flags)
{
{
CRYPTUI_CERT_MGR_STRUCT
dlg
;
CRYPTUI_CERT_MGR_STRUCT
dlg
;
TRACE
(
"(%p, 0x%x)
\n
"
,
parent
,
flags
);
TRACE
(
"(%p, 0x%
l
x)
\n
"
,
parent
,
flags
);
ZeroMemory
(
&
dlg
,
sizeof
(
CRYPTUI_CERT_MGR_STRUCT
));
ZeroMemory
(
&
dlg
,
sizeof
(
CRYPTUI_CERT_MGR_STRUCT
));
dlg
.
dwSize
=
sizeof
(
CRYPTUI_CERT_MGR_STRUCT
);
dlg
.
dwSize
=
sizeof
(
CRYPTUI_CERT_MGR_STRUCT
);
...
@@ -78,7 +78,7 @@ BOOL WINAPI LaunchSiteCertDialog(HWND parent)
...
@@ -78,7 +78,7 @@ BOOL WINAPI LaunchSiteCertDialog(HWND parent)
INT_PTR
CALLBACK
content_dlgproc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
INT_PTR
CALLBACK
content_dlgproc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
{
if
((
msg
!=
WM_SETCURSOR
)
&&
(
msg
!=
WM_NCHITTEST
)
&&
(
msg
!=
WM_MOUSEMOVE
))
if
((
msg
!=
WM_SETCURSOR
)
&&
(
msg
!=
WM_NCHITTEST
)
&&
(
msg
!=
WM_MOUSEMOVE
))
TRACE
(
"(%p, 0x%08x/%d, 0x%
lx, 0x%l
x)
\n
"
,
hwnd
,
msg
,
msg
,
wparam
,
lparam
);
TRACE
(
"(%p, 0x%08x/%d, 0x%
Ix, 0x%I
x)
\n
"
,
hwnd
,
msg
,
msg
,
wparam
,
lparam
);
if
(
msg
==
WM_COMMAND
)
if
(
msg
==
WM_COMMAND
)
{
{
...
...
dlls/inetcpl.cpl/general.c
View file @
0c4fdeee
...
@@ -155,7 +155,7 @@ static DWORD parse_url_from_outside(LPCWSTR url, LPWSTR out, DWORD maxlen)
...
@@ -155,7 +155,7 @@ static DWORD parse_url_from_outside(LPCWSTR url, LPWSTR out, DWORD maxlen)
return
res
;
return
res
;
}
}
ERR
(
"failed to get ordinal 170: %d
\n
"
,
GetLastError
());
ERR
(
"failed to get ordinal 170: %
l
d
\n
"
,
GetLastError
());
FreeLibrary
(
hdll
);
FreeLibrary
(
hdll
);
return
0
;
return
0
;
}
}
...
@@ -252,7 +252,7 @@ static INT_PTR general_on_notify(HWND hwnd, WPARAM wparam, LPARAM lparam)
...
@@ -252,7 +252,7 @@ static INT_PTR general_on_notify(HWND hwnd, WPARAM wparam, LPARAM lparam)
LONG
res
;
LONG
res
;
psn
=
(
PSHNOTIFY
*
)
lparam
;
psn
=
(
PSHNOTIFY
*
)
lparam
;
TRACE
(
"WM_NOTIFY (%p, 0x%
lx, 0x%l
x) from %p with code: %d
\n
"
,
hwnd
,
wparam
,
lparam
,
TRACE
(
"WM_NOTIFY (%p, 0x%
Ix, 0x%I
x) from %p with code: %d
\n
"
,
hwnd
,
wparam
,
lparam
,
psn
->
hdr
.
hwndFrom
,
psn
->
hdr
.
code
);
psn
->
hdr
.
hwndFrom
,
psn
->
hdr
.
code
);
if
(
psn
->
hdr
.
code
==
PSN_APPLY
)
if
(
psn
->
hdr
.
code
==
PSN_APPLY
)
...
@@ -262,7 +262,7 @@ static INT_PTR general_on_notify(HWND hwnd, WPARAM wparam, LPARAM lparam)
...
@@ -262,7 +262,7 @@ static INT_PTR general_on_notify(HWND hwnd, WPARAM wparam, LPARAM lparam)
TRACE
(
"EDITTEXT has %s
\n
"
,
debugstr_w
(
buffer
));
TRACE
(
"EDITTEXT has %s
\n
"
,
debugstr_w
(
buffer
));
res
=
parse_url_from_outside
(
buffer
,
parsed
,
ARRAY_SIZE
(
parsed
));
res
=
parse_url_from_outside
(
buffer
,
parsed
,
ARRAY_SIZE
(
parsed
));
TRACE
(
"got %d with %s
\n
"
,
res
,
debugstr_w
(
parsed
));
TRACE
(
"got %
l
d with %s
\n
"
,
res
,
debugstr_w
(
parsed
));
if
(
res
)
if
(
res
)
{
{
...
@@ -310,7 +310,7 @@ INT_PTR CALLBACK general_dlgproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpar
...
@@ -310,7 +310,7 @@ INT_PTR CALLBACK general_dlgproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpar
if
((
msg
==
WM_SETCURSOR
)
||
(
msg
==
WM_NCHITTEST
)
||
(
msg
==
WM_MOUSEMOVE
))
if
((
msg
==
WM_SETCURSOR
)
||
(
msg
==
WM_NCHITTEST
)
||
(
msg
==
WM_MOUSEMOVE
))
return
FALSE
;
return
FALSE
;
TRACE
(
"(%p, 0x%08x/%d, 0x%
lx, 0x%l
x)
\n
"
,
hwnd
,
msg
,
msg
,
wparam
,
lparam
);
TRACE
(
"(%p, 0x%08x/%d, 0x%
Ix, 0x%I
x)
\n
"
,
hwnd
,
msg
,
msg
,
wparam
,
lparam
);
}
}
return
FALSE
;
return
FALSE
;
...
...
dlls/inetcpl.cpl/inetcpl.c
View file @
0c4fdeee
...
@@ -46,7 +46,7 @@ DECLSPEC_HIDDEN HMODULE hcpl;
...
@@ -46,7 +46,7 @@ DECLSPEC_HIDDEN HMODULE hcpl;
*/
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hdll
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hdll
,
DWORD
reason
,
LPVOID
reserved
)
{
{
TRACE
(
"(%p, %d, %p)
\n
"
,
hdll
,
reason
,
reserved
);
TRACE
(
"(%p, %
l
d, %p)
\n
"
,
hdll
,
reason
,
reserved
);
switch
(
reason
)
switch
(
reason
)
{
{
...
@@ -73,7 +73,7 @@ HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
...
@@ -73,7 +73,7 @@ HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
static
int
CALLBACK
propsheet_callback
(
HWND
hwnd
,
UINT
msg
,
LPARAM
lparam
)
static
int
CALLBACK
propsheet_callback
(
HWND
hwnd
,
UINT
msg
,
LPARAM
lparam
)
{
{
TRACE
(
"(%p, 0x%08x/%d, 0x%
l
x)
\n
"
,
hwnd
,
msg
,
msg
,
lparam
);
TRACE
(
"(%p, 0x%08x/%d, 0x%
I
x)
\n
"
,
hwnd
,
msg
,
msg
,
lparam
);
switch
(
msg
)
switch
(
msg
)
{
{
case
PSCB_INITIALIZED
:
case
PSCB_INITIALIZED
:
...
@@ -164,7 +164,7 @@ static void display_cpl_sheets(HWND parent)
...
@@ -164,7 +164,7 @@ static void display_cpl_sheets(HWND parent)
*/
*/
LONG
CALLBACK
CPlApplet
(
HWND
hWnd
,
UINT
command
,
LPARAM
lParam1
,
LPARAM
lParam2
)
LONG
CALLBACK
CPlApplet
(
HWND
hWnd
,
UINT
command
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
{
TRACE
(
"(%p, %u, 0x%
lx, 0x%l
x)
\n
"
,
hWnd
,
command
,
lParam1
,
lParam2
);
TRACE
(
"(%p, %u, 0x%
Ix, 0x%I
x)
\n
"
,
hWnd
,
command
,
lParam1
,
lParam2
);
switch
(
command
)
switch
(
command
)
{
{
...
...
dlls/inetcpl.cpl/security.c
View file @
0c4fdeee
...
@@ -82,7 +82,7 @@ static DWORD index_from_urltemplate(URLTEMPLATE value)
...
@@ -82,7 +82,7 @@ static DWORD index_from_urltemplate(URLTEMPLATE value)
if
(
!
index
&&
value
)
if
(
!
index
&&
value
)
FIXME
(
"URLTEMPLATE 0x%x not supported
\n
"
,
value
);
FIXME
(
"URLTEMPLATE 0x%x not supported
\n
"
,
value
);
TRACE
(
"URLTEMPLATE 0x%08x=> Level %d
\n
"
,
value
,
index
);
TRACE
(
"URLTEMPLATE 0x%08x=> Level %
l
d
\n
"
,
value
,
index
);
return
index
;
return
index
;
}
}
...
@@ -95,7 +95,7 @@ static void update_security_level(secdlg_data *sd, DWORD lv_index, DWORD tb_inde
...
@@ -95,7 +95,7 @@ static void update_security_level(secdlg_data *sd, DWORD lv_index, DWORD tb_inde
WCHAR
name
[
512
];
WCHAR
name
[
512
];
DWORD
current_index
;
DWORD
current_index
;
TRACE
(
"(%p, lv_index: %
u, tb_index: %
u)
\n
"
,
sd
,
lv_index
,
tb_index
);
TRACE
(
"(%p, lv_index: %
lu, tb_index: %l
u)
\n
"
,
sd
,
lv_index
,
tb_index
);
if
((
sd
->
levels
[
lv_index
]
!=
sd
->
last_level
)
||
(
tb_index
>
0
))
{
if
((
sd
->
levels
[
lv_index
]
!=
sd
->
last_level
)
||
(
tb_index
>
0
))
{
/* show or hide the trackbar */
/* show or hide the trackbar */
...
@@ -106,7 +106,7 @@ static void update_security_level(secdlg_data *sd, DWORD lv_index, DWORD tb_inde
...
@@ -106,7 +106,7 @@ static void update_security_level(secdlg_data *sd, DWORD lv_index, DWORD tb_inde
name
[
0
]
=
0
;
name
[
0
]
=
0
;
LoadStringW
(
hcpl
,
IDS_SEC_LEVEL0
+
current_index
,
name
,
ARRAY_SIZE
(
name
));
LoadStringW
(
hcpl
,
IDS_SEC_LEVEL0
+
current_index
,
name
,
ARRAY_SIZE
(
name
));
TRACE
(
"new level #%d: %s
\n
"
,
current_index
,
debugstr_w
(
name
));
TRACE
(
"new level #%
l
d: %s
\n
"
,
current_index
,
debugstr_w
(
name
));
SetWindowTextW
(
GetDlgItem
(
sd
->
hsec
,
IDC_SEC_LEVEL
),
name
);
SetWindowTextW
(
GetDlgItem
(
sd
->
hsec
,
IDC_SEC_LEVEL
),
name
);
name
[
0
]
=
0
;
name
[
0
]
=
0
;
...
@@ -159,7 +159,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
...
@@ -159,7 +159,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
WCHAR
*
ptr
;
WCHAR
*
ptr
;
HICON
icon
;
HICON
icon
;
TRACE
(
"item %
d (zone %
d)
\n
"
,
lv_index
,
zone
);
TRACE
(
"item %
ld (zone %l
d)
\n
"
,
lv_index
,
zone
);
sd
->
zones
[
lv_index
]
=
zone
;
sd
->
zones
[
lv_index
]
=
zone
;
...
@@ -170,11 +170,11 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
...
@@ -170,11 +170,11 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
if
(
SUCCEEDED
(
hr
))
{
if
(
SUCCEEDED
(
hr
))
{
TRACE
(
"displayname: %s
\n
"
,
debugstr_w
(
za
->
szDisplayName
));
TRACE
(
"displayname: %s
\n
"
,
debugstr_w
(
za
->
szDisplayName
));
TRACE
(
"description: %s
\n
"
,
debugstr_w
(
za
->
szDescription
));
TRACE
(
"description: %s
\n
"
,
debugstr_w
(
za
->
szDescription
));
TRACE
(
"minlevel: 0x%
x, recommended: 0x%x, current: 0x%x (flags: 0x%
x)
\n
"
,
za
->
dwTemplateMinLevel
,
TRACE
(
"minlevel: 0x%
lx, recommended: 0x%lx, current: 0x%lx (flags: 0x%l
x)
\n
"
,
za
->
dwTemplateMinLevel
,
za
->
dwTemplateRecommended
,
za
->
dwTemplateCurrentLevel
,
za
->
dwFlags
);
za
->
dwTemplateRecommended
,
za
->
dwTemplateCurrentLevel
,
za
->
dwFlags
);
if
(
za
->
dwFlags
&
ZAFLAGS_NO_UI
)
{
if
(
za
->
dwFlags
&
ZAFLAGS_NO_UI
)
{
TRACE
(
"item %
d (zone %
d): UI disabled for %s
\n
"
,
lv_index
,
zone
,
debugstr_w
(
za
->
szDisplayName
));
TRACE
(
"item %
ld (zone %l
d): UI disabled for %s
\n
"
,
lv_index
,
zone
,
debugstr_w
(
za
->
szDisplayName
));
return
;
return
;
}
}
...
@@ -199,7 +199,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
...
@@ -199,7 +199,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
GetSystemMetrics
(
SM_CYICON
),
LR_SHARED
);
GetSystemMetrics
(
SM_CYICON
),
LR_SHARED
);
if
(
!
icon
)
{
if
(
!
icon
)
{
FIXME
(
"item %
d (zone %
d): missing icon #%d in %s
\n
"
,
lv_index
,
zone
,
iconid
,
debugstr_w
(
za
->
szIconPath
));
FIXME
(
"item %
ld (zone %l
d): missing icon #%d in %s
\n
"
,
lv_index
,
zone
,
iconid
,
debugstr_w
(
za
->
szIconPath
));
}
}
/* the failure result (NULL) from LoadImageW let ImageList_AddIcon fail
/* the failure result (NULL) from LoadImageW let ImageList_AddIcon fail
...
@@ -207,7 +207,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
...
@@ -207,7 +207,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
lvitem
.
iImage
=
ImageList_AddIcon
(
sd
->
himages
,
icon
);
lvitem
.
iImage
=
ImageList_AddIcon
(
sd
->
himages
,
icon
);
}
}
else
else
FIXME
(
"item %
d (zone %
d): malformed szIconPath %s
\n
"
,
lv_index
,
zone
,
debugstr_w
(
za
->
szIconPath
));
FIXME
(
"item %
ld (zone %l
d): malformed szIconPath %s
\n
"
,
lv_index
,
zone
,
debugstr_w
(
za
->
szIconPath
));
if
(
ListView_InsertItemW
(
sd
->
hlv
,
&
lvitem
)
>=
0
)
{
if
(
ListView_InsertItemW
(
sd
->
hlv
,
&
lvitem
)
>=
0
)
{
/* activate first item in the listview */
/* activate first item in the listview */
...
@@ -223,7 +223,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
...
@@ -223,7 +223,7 @@ static void add_zone_to_listview(secdlg_data *sd, DWORD *pindex, DWORD zone)
FreeLibrary
(
hdll
);
FreeLibrary
(
hdll
);
}
}
else
else
FIXME
(
"item %
d (zone %d): GetZoneAttributes failed with 0x%
x
\n
"
,
lv_index
,
zone
,
hr
);
FIXME
(
"item %
ld (zone %ld): GetZoneAttributes failed with 0x%l
x
\n
"
,
lv_index
,
zone
,
hr
);
}
}
/*********************************************************************
/*********************************************************************
...
@@ -330,12 +330,12 @@ static INT_PTR security_on_initdialog(HWND hsec)
...
@@ -330,12 +330,12 @@ static INT_PTR security_on_initdialog(HWND hsec)
hr
=
security_enum_zones
(
sd
);
hr
=
security_enum_zones
(
sd
);
if
(
FAILED
(
hr
))
{
if
(
FAILED
(
hr
))
{
ERR
(
"got 0x%x
\n
"
,
hr
);
ERR
(
"got 0x%
l
x
\n
"
,
hr
);
security_on_destroy
(
sd
);
security_on_destroy
(
sd
);
return
FALSE
;
return
FALSE
;
}
}
TRACE
(
"found %d zones
\n
"
,
sd
->
num_zones
);
TRACE
(
"found %
l
d zones
\n
"
,
sd
->
num_zones
);
/* remember ZONEATTRIBUTES for a listview entry */
/* remember ZONEATTRIBUTES for a listview entry */
sd
->
zone_attr
=
heap_alloc
(
sizeof
(
ZONEATTRIBUTES
)
*
sd
->
num_zones
);
sd
->
zone_attr
=
heap_alloc
(
sizeof
(
ZONEATTRIBUTES
)
*
sd
->
num_zones
);
...
@@ -384,7 +384,7 @@ static INT_PTR security_on_notify(secdlg_data *sd, WPARAM wparam, LPARAM lparam)
...
@@ -384,7 +384,7 @@ static INT_PTR security_on_notify(secdlg_data *sd, WPARAM wparam, LPARAM lparam)
switch
(
nm
->
hdr
.
code
)
switch
(
nm
->
hdr
.
code
)
{
{
case
LVN_ITEMCHANGED
:
case
LVN_ITEMCHANGED
:
TRACE
(
"LVN_ITEMCHANGED (0x%
lx, 0x%l
x) from %p with code: %d (item: %d, uNewState: %u)
\n
"
,
TRACE
(
"LVN_ITEMCHANGED (0x%
Ix, 0x%I
x) from %p with code: %d (item: %d, uNewState: %u)
\n
"
,
wparam
,
lparam
,
nm
->
hdr
.
hwndFrom
,
nm
->
hdr
.
code
,
nm
->
iItem
,
nm
->
uNewState
);
wparam
,
lparam
,
nm
->
hdr
.
hwndFrom
,
nm
->
hdr
.
code
,
nm
->
iItem
,
nm
->
uNewState
);
if
((
nm
->
uNewState
&
LVIS_SELECTED
)
==
LVIS_SELECTED
)
{
if
((
nm
->
uNewState
&
LVIS_SELECTED
)
==
LVIS_SELECTED
)
{
update_zone_info
(
sd
,
nm
->
iItem
);
update_zone_info
(
sd
,
nm
->
iItem
);
...
@@ -392,12 +392,12 @@ static INT_PTR security_on_notify(secdlg_data *sd, WPARAM wparam, LPARAM lparam)
...
@@ -392,12 +392,12 @@ static INT_PTR security_on_notify(secdlg_data *sd, WPARAM wparam, LPARAM lparam)
break
;
break
;
case
PSN_APPLY
:
case
PSN_APPLY
:
TRACE
(
"PSN_APPLY (0x%
lx, 0x%l
x) from %p with code: %d
\n
"
,
wparam
,
lparam
,
TRACE
(
"PSN_APPLY (0x%
Ix, 0x%I
x) from %p with code: %d
\n
"
,
wparam
,
lparam
,
nm
->
hdr
.
hwndFrom
,
nm
->
hdr
.
code
);
nm
->
hdr
.
hwndFrom
,
nm
->
hdr
.
code
);
break
;
break
;
default:
default:
TRACE
(
"WM_NOTIFY (0x%
lx, 0x%l
x) from %p with code: %d
\n
"
,
wparam
,
lparam
,
TRACE
(
"WM_NOTIFY (0x%
Ix, 0x%I
x) from %p with code: %d
\n
"
,
wparam
,
lparam
,
nm
->
hdr
.
hwndFrom
,
nm
->
hdr
.
code
);
nm
->
hdr
.
hwndFrom
,
nm
->
hdr
.
code
);
}
}
...
@@ -432,7 +432,7 @@ INT_PTR CALLBACK security_dlgproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa
...
@@ -432,7 +432,7 @@ INT_PTR CALLBACK security_dlgproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa
(
msg
==
WM_MOUSEMOVE
)
||
(
msg
==
WM_MOUSEACTIVATE
)
||
(
msg
==
WM_PARENTNOTIFY
))
(
msg
==
WM_MOUSEMOVE
)
||
(
msg
==
WM_MOUSEACTIVATE
)
||
(
msg
==
WM_PARENTNOTIFY
))
return
FALSE
;
return
FALSE
;
TRACE
(
"(%p, 0x%08x/%03d, 0x%08
lx, 0x%08l
x)
\n
"
,
hwnd
,
msg
,
msg
,
wparam
,
lparam
);
TRACE
(
"(%p, 0x%08x/%03d, 0x%08
Ix, 0x%08I
x)
\n
"
,
hwnd
,
msg
,
msg
,
wparam
,
lparam
);
}
}
}
}
return
FALSE
;
return
FALSE
;
...
...
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