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
58e30bca
Commit
58e30bca
authored
Nov 30, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Use the ntdll Unicode string functions instead of wine/unicode.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5554c847
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
unixlib.c
dlls/netapi32/unixlib.c
+2
-3
No files found.
dlls/netapi32/unixlib.c
View file @
58e30bca
...
...
@@ -42,7 +42,6 @@
#include "winternl.h"
#include "lm.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "unixlib.h"
...
...
@@ -67,8 +66,8 @@ static NET_API_STATUS (*pNetWkstaGetInfo)( const char *, unsigned int, unsigned
static
DWORD
netapi_wcstoumbs
(
const
WCHAR
*
src
,
char
*
dst
,
DWORD
dstlen
)
{
if
(
!
dst
)
return
3
*
strlenW
(
src
)
+
1
;
return
ntdll_wcstoumbs
(
src
,
strlenW
(
src
)
+
1
,
dst
,
dstlen
,
FALSE
);
if
(
!
dst
)
return
3
*
wcslen
(
src
)
+
1
;
return
ntdll_wcstoumbs
(
src
,
wcslen
(
src
)
+
1
,
dst
,
dstlen
,
FALSE
);
}
static
DWORD
netapi_umbstowcs
(
const
char
*
src
,
WCHAR
*
dst
,
DWORD
dstlen
)
...
...
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