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
4f380479
Commit
4f380479
authored
Dec 18, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#ifdef-out decodeW since it is not used yet.
Fix the lpDesktop and lpTitle checks on NT platforms.
parent
50c0cdef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
process.c
dlls/kernel/tests/process.c
+11
-5
No files found.
dlls/kernel/tests/process.c
View file @
4f380479
...
...
@@ -106,6 +106,10 @@ static char* decodeA(const char* str)
return
ptr
;
}
#if 0
/* This will be needed to decode Unicode strings saved by the child process
* when we test Unicode functions.
*/
static WCHAR* decodeW(const char* str)
{
size_t len;
...
...
@@ -123,6 +127,7 @@ static WCHAR* decodeW(const char* str)
ptr[len] = '\0';
return ptr;
}
#endif
/******************************************************************
* init
...
...
@@ -351,7 +356,7 @@ static void test_Startup(void)
{
char
buffer
[
MAX_PATH
];
PROCESS_INFORMATION
info
;
STARTUPINFOA
startup
;
STARTUPINFOA
startup
,
si
;
/* let's start simplistic */
memset
(
&
startup
,
0
,
sizeof
(
startup
));
...
...
@@ -367,9 +372,10 @@ static void test_Startup(void)
/* child process has changed result file, so let profile functions know about it */
WritePrivateProfileStringA
(
NULL
,
NULL
,
NULL
,
resfile
);
GetStartupInfoA
(
&
si
);
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
s
tartup
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
s
tartup
.
lpTitle
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
s
i
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
s
i
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
@@ -444,7 +450,7 @@ static void test_Startup(void)
WritePrivateProfileStringA
(
NULL
,
NULL
,
NULL
,
resfile
);
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
s
tartup
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
s
i
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
startup
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
...
...
@@ -521,7 +527,7 @@ static void test_Startup(void)
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
startup
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
s
tartup
.
lpTitle
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
s
i
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
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