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
24ffba47
Commit
24ffba47
authored
Jun 26, 2018
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psapi: GetProcessImageFileName gets character count as argument.
Signed-off-by:
Marcus Meissner
<
meissner@suse.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d3057eef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
psapi_main.c
dlls/psapi/tests/psapi_main.c
+1
-1
No files found.
dlls/psapi/tests/psapi_main.c
View file @
24ffba47
...
@@ -645,7 +645,7 @@ static void test_GetProcessImageFileName(void)
...
@@ -645,7 +645,7 @@ static void test_GetProcessImageFileName(void)
}
}
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
pGetProcessImageFileNameW
(
NULL
,
szImgPathW
,
sizeof
(
szImgPathW
));
pGetProcessImageFileNameW
(
NULL
,
szImgPathW
,
ARRAY_SIZE
(
szImgPathW
));
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"expected error=ERROR_INVALID_HANDLE but got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"expected error=ERROR_INVALID_HANDLE but got %d
\n
"
,
GetLastError
());
/* no information about correct buffer size returned: */
/* no information about correct buffer size returned: */
...
...
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