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
0025eaef
Commit
0025eaef
authored
Oct 25, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Fixed buffer sizes to GetUserNameW and GetComputerNameW.
parent
0c4e9df2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
access.c
dlls/netapi32/tests/access.c
+2
-2
No files found.
dlls/netapi32/tests/access.c
View file @
0025eaef
...
...
@@ -70,7 +70,7 @@ static int init_access_tests(void)
BOOL
rc
;
user_name
[
0
]
=
0
;
dwSize
=
sizeof
(
user_name
);
dwSize
=
sizeof
(
user_name
)
/
sizeof
(
WCHAR
)
;
rc
=
GetUserNameW
(
user_name
,
&
dwSize
);
if
(
rc
==
FALSE
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
...
...
@@ -80,7 +80,7 @@ static int init_access_tests(void)
ok
(
rc
,
"User Name Retrieved
\n
"
);
computer_name
[
0
]
=
0
;
dwSize
=
sizeof
(
computer_name
);
dwSize
=
sizeof
(
computer_name
)
/
sizeof
(
WCHAR
)
;
ok
(
GetComputerNameW
(
computer_name
,
&
dwSize
),
"Computer Name Retrieved
\n
"
);
return
1
;
}
...
...
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