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
11ab5b90
Commit
11ab5b90
authored
Jun 20, 2000
by
Huw D M Davies
Committed by
Alexandre Julliard
Jun 20, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented StrCatBuff.
parent
6e99273c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
shellstring.c
dlls/shell32/shellstring.c
+36
-0
shlwapi.spec
dlls/shell32/shlwapi.spec
+2
-0
No files found.
dlls/shell32/shellstring.c
View file @
11ab5b90
...
@@ -336,6 +336,42 @@ int WINAPI StrCSpnW (LPCWSTR lpStr, LPCWSTR lpSet)
...
@@ -336,6 +336,42 @@ int WINAPI StrCSpnW (LPCWSTR lpStr, LPCWSTR lpSet)
return
pos
;
return
pos
;
}
}
/*************************************************************************
* StrCatBuffA [SHLWAPI]
*
* Appends back onto front, stopping when front is size-1 characters long.
* Returns front.
*
*/
LPSTR
WINAPI
StrCatBuffA
(
LPSTR
front
,
LPCSTR
back
,
INT
size
)
{
LPSTR
dst
=
front
+
lstrlenA
(
front
);
LPCSTR
src
=
back
,
end
=
front
+
size
-
1
;
while
(
dst
<
end
&&
*
src
)
*
dst
++
=
*
src
++
;
*
dst
=
'\0'
;
return
front
;
}
/*************************************************************************
* StrCatBuffW [SHLWAPI]
*
* Appends back onto front, stopping when front is size-1 characters long.
* Returns front.
*
*/
LPWSTR
WINAPI
StrCatBuffW
(
LPWSTR
front
,
LPCWSTR
back
,
INT
size
)
{
LPWSTR
dst
=
front
+
lstrlenW
(
front
);
LPCWSTR
src
=
back
,
end
=
front
+
size
-
1
;
while
(
dst
<
end
&&
*
src
)
*
dst
++
=
*
src
++
;
*
dst
=
'\0'
;
return
front
;
}
/************************* OLESTR functions ****************************/
/************************* OLESTR functions ****************************/
/************************************************************************
/************************************************************************
...
...
dlls/shell32/shlwapi.spec
View file @
11ab5b90
...
@@ -608,6 +608,8 @@ init ShlwapiLibMain
...
@@ -608,6 +608,8 @@ init ShlwapiLibMain
@ stub StrCSpnIA
@ stub StrCSpnIA
@ stub StrCSpnIW
@ stub StrCSpnIW
@ stdcall StrCSpnW (wstr wstr) StrCSpnW
@ stdcall StrCSpnW (wstr wstr) StrCSpnW
@ stdcall StrCatBuffA (str str long) StrCatBuffA
@ stdcall StrCatBuffW (wstr wstr long) StrCatBuffW
@ stub StrCatW
@ stub StrCatW
@ stdcall StrChrA (str long) StrChrA
@ stdcall StrChrA (str long) StrChrA
@ stub StrChrIA
@ stub StrChrIA
...
...
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