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
240172f1
Commit
240172f1
authored
May 25, 2013
by
Daniel Jelinski
Committed by
Alexandre Julliard
May 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wine.inf: Add HKLM\\System\\CurrentControlSet\\Services\\Eventlog\\Application registry key.
parent
31b9455b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
eventlog.c
dlls/advapi32/tests/eventlog.c
+4
-3
wine.inf.in
tools/wine.inf.in
+2
-1
No files found.
dlls/advapi32/tests/eventlog.c
View file @
240172f1
...
...
@@ -637,7 +637,6 @@ static BOOL create_new_eventlog(void)
/* First create our eventlog */
lret
=
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
eventlogsvc
,
&
key
);
/* FIXME: Wine stops here */
if
(
lret
!=
ERROR_SUCCESS
)
{
skip
(
"Could not open the EventLog service registry key
\n
"
);
...
...
@@ -832,11 +831,13 @@ static void test_readwrite(void)
SetLastError
(
0xdeadbeef
);
ret
=
GetNumberOfEventLogRecords
(
handle
,
&
count
);
ok
(
ret
,
"Expected GetNumberOfEventLogRecords success : %d
\n
"
,
GetLastError
());
todo_wine
ok
(
count
==
(
i
+
1
),
"Expected %d records, got %d
\n
"
,
i
+
1
,
count
);
oldest
=
0xdeadbeef
;
ret
=
GetOldestEventLogRecord
(
handle
,
&
oldest
);
ok
(
ret
,
"Expected GetOldestEventLogRecord success : %d
\n
"
,
GetLastError
());
todo_wine
ok
(
oldest
==
1
||
(
oldest
>
1
&&
oldest
!=
0xdeadbeef
),
/* Vista SP1+, W2K8 and Win7 */
"Expected oldest to be 1 or higher, got %d
\n
"
,
oldest
);
...
...
@@ -855,6 +856,7 @@ static void test_readwrite(void)
count
=
0xdeadbeef
;
ret
=
GetNumberOfEventLogRecords
(
handle
,
&
count
);
ok
(
ret
,
"Expected success
\n
"
);
todo_wine
ok
(
count
==
i
,
"Expected %d records, got %d
\n
"
,
i
,
count
);
CloseEventLog
(
handle
);
...
...
@@ -1083,6 +1085,7 @@ static void test_autocreation(void)
lstrcatA
(
eventlogfile
,
".evtx"
);
}
todo_wine
ok
(
GetFileAttributesA
(
eventlogfile
)
!=
INVALID_FILE_ATTRIBUTES
,
"Expected an eventlog file
\n
"
);
...
...
@@ -1109,14 +1112,12 @@ static void cleanup_eventlog(void)
RegDeleteValueA
(
key
,
"Sources"
);
RegCloseKey
(
key
);
lret
=
RegDeleteKeyA
(
HKEY_LOCAL_MACHINE
,
winesvc
);
todo_wine
ok
(
lret
==
ERROR_SUCCESS
,
"Could not delete the registry tree : %d
\n
"
,
lret
);
/* A handle to the eventlog is locked by services.exe. We can only
* delete the eventlog file after reboot.
*/
bret
=
MoveFileExA
(
eventlogfile
,
NULL
,
MOVEFILE_DELAY_UNTIL_REBOOT
);
todo_wine
ok
(
bret
,
"Expected MoveFileEx to succeed: %d
\n
"
,
GetLastError
());
}
...
...
tools/wine.inf.in
View file @
240172f1
...
...
@@ -3005,8 +3005,9 @@ HKR,Parameters,"ServiceDll",,"%11%\srvsvc.dll"
[Services]
HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -a -r"
HKLM,"System\CurrentControlSet\Services\
VxD\MSTCP
",,16
HKLM,"System\CurrentControlSet\Services\
Eventlog\Application
",,16
HKLM,"System\CurrentControlSet\Services\Tcpip\Parameters",,16
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",,16
HKLM,"System\CurrentControlSet\Services\Winsock\Parameters",,16
HKLM,"System\CurrentControlSet\Services\Winsock2\Parameters\Protocol_Catalog9\Catalog_Entries",,16
...
...
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