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
302cd456
Commit
302cd456
authored
Jun 14, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved debugging config options to HKCU\Software\Wine\Debug.
parent
8b4b4b3a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
18 deletions
+18
-18
relay16.c
dlls/kernel/relay16.c
+8
-8
relay.c
dlls/ntdll/relay.c
+8
-8
spy.c
dlls/user/spy.c
+2
-2
No files found.
dlls/kernel/relay16.c
View file @
302cd456
...
...
@@ -109,30 +109,30 @@ void RELAY16_InitDebugLists(void)
OBJECT_ATTRIBUTES
attr
;
UNICODE_STRING
name
;
char
buffer
[
1024
];
HKEY
hkey
;
HKEY
root
,
hkey
;
DWORD
count
;
WCHAR
*
str
;
static
const
WCHAR
configW
[]
=
{
'M'
,
'a'
,
'c'
,
'h'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
static
const
WCHAR
configW
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'C'
,
'o'
,
'n'
,
'f'
,
'i'
,
'g'
,
'\\'
,
'D'
,
'e'
,
'b'
,
'u'
,
'g'
,
0
};
static
const
WCHAR
RelayIncludeW
[]
=
{
'R'
,
'e'
,
'l'
,
'a'
,
'y'
,
'I'
,
'n'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
RelayExcludeW
[]
=
{
'R'
,
'e'
,
'l'
,
'a'
,
'y'
,
'E'
,
'x'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
SnoopIncludeW
[]
=
{
'S'
,
'n'
,
'o'
,
'o'
,
'p'
,
'I'
,
'n'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
SnoopExcludeW
[]
=
{
'S'
,
'n'
,
'o'
,
'o'
,
'p'
,
'E'
,
'x'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
RtlOpenCurrentUser
(
KEY_ALL_ACCESS
,
&
root
);
attr
.
Length
=
sizeof
(
attr
);
attr
.
RootDirectory
=
0
;
attr
.
RootDirectory
=
root
;
attr
.
ObjectName
=
&
name
;
attr
.
Attributes
=
0
;
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
RtlInitUnicodeString
(
&
name
,
configW
);
/* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\Debug */
if
(
NtOpenKey
(
&
hkey
,
KEY_ALL_ACCESS
,
&
attr
))
return
;
/* @@ Wine registry key: HKCU\Software\Wine\Debug */
if
(
NtOpenKey
(
&
hkey
,
KEY_ALL_ACCESS
,
&
attr
))
hkey
=
0
;
NtClose
(
root
);
if
(
!
hkey
)
return
;
str
=
(
WCHAR
*
)((
KEY_VALUE_PARTIAL_INFORMATION
*
)
buffer
)
->
Data
;
RtlInitUnicodeString
(
&
name
,
RelayIncludeW
);
...
...
dlls/ntdll/relay.c
View file @
302cd456
...
...
@@ -113,14 +113,11 @@ void RELAY_InitDebugLists(void)
OBJECT_ATTRIBUTES
attr
;
UNICODE_STRING
name
;
char
buffer
[
1024
];
HKEY
hkey
;
HKEY
root
,
hkey
;
DWORD
count
;
WCHAR
*
str
;
static
const
WCHAR
configW
[]
=
{
'M'
,
'a'
,
'c'
,
'h'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
static
const
WCHAR
configW
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'C'
,
'o'
,
'n'
,
'f'
,
'i'
,
'g'
,
'\\'
,
'D'
,
'e'
,
'b'
,
'u'
,
'g'
,
0
};
static
const
WCHAR
RelayIncludeW
[]
=
{
'R'
,
'e'
,
'l'
,
'a'
,
'y'
,
'I'
,
'n'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
RelayExcludeW
[]
=
{
'R'
,
'e'
,
'l'
,
'a'
,
'y'
,
'E'
,
'x'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
...
...
@@ -131,16 +128,19 @@ void RELAY_InitDebugLists(void)
static
const
WCHAR
SnoopFromIncludeW
[]
=
{
'S'
,
'n'
,
'o'
,
'o'
,
'p'
,
'F'
,
'r'
,
'o'
,
'm'
,
'I'
,
'n'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
SnoopFromExcludeW
[]
=
{
'S'
,
'n'
,
'o'
,
'o'
,
'p'
,
'F'
,
'r'
,
'o'
,
'm'
,
'E'
,
'x'
,
'c'
,
'l'
,
'u'
,
'd'
,
'e'
,
0
};
RtlOpenCurrentUser
(
KEY_ALL_ACCESS
,
&
root
);
attr
.
Length
=
sizeof
(
attr
);
attr
.
RootDirectory
=
0
;
attr
.
RootDirectory
=
root
;
attr
.
ObjectName
=
&
name
;
attr
.
Attributes
=
0
;
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
RtlInitUnicodeString
(
&
name
,
configW
);
/* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\Debug */
if
(
NtOpenKey
(
&
hkey
,
KEY_ALL_ACCESS
,
&
attr
))
return
;
/* @@ Wine registry key: HKCU\Software\Wine\Debug */
if
(
NtOpenKey
(
&
hkey
,
KEY_ALL_ACCESS
,
&
attr
))
hkey
=
0
;
NtClose
(
root
);
if
(
!
hkey
)
return
;
str
=
(
WCHAR
*
)((
KEY_VALUE_PARTIAL_INFORMATION
*
)
buffer
)
->
Data
;
RtlInitUnicodeString
(
&
name
,
RelayIncludeW
);
...
...
dlls/user/spy.c
View file @
302cd456
...
...
@@ -2584,8 +2584,8 @@ int SPY_Init(void)
if
(
!
TRACE_ON
(
message
))
return
TRUE
;
indent_tls_index
=
TlsAlloc
();
/* @@ Wine registry key: HK
LM\Software\Wine\Wine\Config
\Debug */
if
(
!
RegOpenKeyA
(
HKEY_
LOCAL_MACHINE
,
"Software
\\
Wine
\\
Wine
\\
Config
\\
Debug"
,
&
hkey
))
/* @@ Wine registry key: HK
CU\Software\Wine
\Debug */
if
(
!
RegOpenKeyA
(
HKEY_
CURRENT_USER
,
"Software
\\
Wine
\\
Debug"
,
&
hkey
))
{
DWORD
type
,
count
=
sizeof
(
buffer
);
...
...
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