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
454264f0
Commit
454264f0
authored
Dec 05, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Forward SHAnsiToAnsi() to shcore.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f7c33804
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
25 deletions
+1
-25
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
string.c
dlls/shlwapi/string.c
+0
-24
No files found.
dlls/shlwapi/shlwapi.spec
View file @
454264f0
...
...
@@ -342,7 +342,7 @@
342 stdcall -noname SHInterlockedCompareExchange(ptr ptr ptr)
343 stdcall -noname SHRegGetCLSIDKeyA(ptr str long long ptr)
344 stdcall -noname SHRegGetCLSIDKeyW(ptr wstr long long ptr)
345 stdcall -ordinal SHAnsiToAnsi(str ptr long)
345 stdcall -ordinal SHAnsiToAnsi(str ptr long)
shcore.SHAnsiToAnsi
346 stdcall -ordinal SHUnicodeToUnicode(wstr ptr long) shcore.SHUnicodeToUnicode
347 stdcall -noname RegDeleteValueWrapW(long wstr) advapi32.RegDeleteValueW
348 stub -noname SHGetFileDescriptionW
...
...
dlls/shlwapi/string.c
View file @
454264f0
...
...
@@ -2750,30 +2750,6 @@ INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen)
}
/*************************************************************************
* @ [SHLWAPI.345]
*
* Copy one string to another.
*
* PARAMS
* lpszSrc [I] Source string to copy
* lpszDst [O] Destination for copy
* iLen [I] Length of lpszDst in characters
*
* RETURNS
* The length of the copied string, including the terminating NUL. lpszDst
* contains iLen characters of lpszSrc.
*/
DWORD
WINAPI
SHAnsiToAnsi
(
LPCSTR
lpszSrc
,
LPSTR
lpszDst
,
int
iLen
)
{
LPSTR
lpszRet
;
TRACE
(
"(%s,%p,0x%08x)
\n
"
,
debugstr_a
(
lpszSrc
),
lpszDst
,
iLen
);
lpszRet
=
StrCpyNXA
(
lpszDst
,
lpszSrc
,
iLen
);
return
lpszRet
-
lpszDst
+
1
;
}
/*************************************************************************
* @ [SHLWAPI.364]
*
* Determine if an Ascii string converts to Unicode and back identically.
...
...
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