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
1b53ecba
Commit
1b53ecba
authored
Aug 16, 2004
by
Ferenc Wagner
Committed by
Alexandre Julliard
Aug 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The desktop process is not automatically restarted under Win95, so
stop killing it.
parent
494ea810
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
win.c
dlls/user/tests/win.c
+0
-11
No files found.
dlls/user/tests/win.c
View file @
1b53ecba
...
@@ -814,23 +814,12 @@ static void test_shell_window()
...
@@ -814,23 +814,12 @@ static void test_shell_window()
trace
(
"previous shell window: %p
\n
"
,
shellWindow
);
trace
(
"previous shell window: %p
\n
"
,
shellWindow
);
if
(
shellWindow
)
{
if
(
shellWindow
)
{
DWORD
pid
;
HANDLE
hProcess
;
ret
=
DestroyWindow
(
shellWindow
);
ret
=
DestroyWindow
(
shellWindow
);
error
=
GetLastError
();
error
=
GetLastError
();
ok
(
!
ret
,
"DestroyWindow(shellWindow)
\n
"
);
ok
(
!
ret
,
"DestroyWindow(shellWindow)
\n
"
);
/* passes on Win XP, but not on Win98
/* passes on Win XP, but not on Win98
ok(error==ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED after DestroyWindow(shellWindow)\n"); */
ok(error==ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED after DestroyWindow(shellWindow)\n"); */
/* close old shell instance */
GetWindowThreadProcessId
(
shellWindow
,
&
pid
);
hProcess
=
OpenProcess
(
PROCESS_ALL_ACCESS
,
FALSE
,
pid
);
ret
=
TerminateProcess
(
hProcess
,
0
);
ok
(
ret
,
"termination of previous shell process failed: GetLastError()=%ld
\n
"
,
GetLastError
());
WaitForSingleObject
(
hProcess
,
INFINITE
);
/* wait for termination */
CloseHandle
(
hProcess
);
}
}
hwnd1
=
CreateWindowEx
(
0
,
TEXT
(
"#32770"
),
TEXT
(
"TEST1"
),
WS_OVERLAPPEDWINDOW
/*|WS_VISIBLE*/
,
100
,
100
,
300
,
200
,
0
,
0
,
hinst
,
0
);
hwnd1
=
CreateWindowEx
(
0
,
TEXT
(
"#32770"
),
TEXT
(
"TEST1"
),
WS_OVERLAPPEDWINDOW
/*|WS_VISIBLE*/
,
100
,
100
,
300
,
200
,
0
,
0
,
hinst
,
0
);
...
...
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