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
096beced
Commit
096beced
authored
Dec 13, 2002
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented StrStrIW.
parent
f3128dad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
comctl32.spec
dlls/comctl32/comctl32.spec
+1
-1
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+32
-1
No files found.
dlls/comctl32/comctl32.spec
View file @
096beced
...
...
@@ -74,7 +74,7 @@
360 stdcall -noname StrCmpNW(wstr wstr long) COMCTL32_StrCmpNW
361 stdcall -noname StrCmpNIW(wstr wstr long) COMCTL32_StrCmpNIW
362 stdcall -noname StrStrW(wstr wstr) COMCTL32_StrStrW
363 st
ub -noname
StrStrIW
363 st
dcall -noname StrStrIW(wstr wstr) COMCTL32_
StrStrIW
364 stdcall -noname StrSpnW(wstr wstr) COMCTL32_StrSpnW
365 stdcall -noname StrToIntW(wstr) COMCTL32_StrToIntW
366 stub -noname StrChrIA
...
...
dlls/comctl32/comctl32undoc.c
View file @
096beced
...
...
@@ -2425,7 +2425,6 @@ COMCTL32_StrStrIA (LPCSTR lpStr1, LPCSTR lpStr2)
return
(
NULL
);
}
/**************************************************************************
* StrToIntA [COMCTL32.357] Converts a string to a signed integer.
*/
...
...
@@ -2437,6 +2436,38 @@ COMCTL32_StrToIntA (LPSTR lpString)
}
/**************************************************************************
* StrStrIW [COMCTL32.363]
*/
LPWSTR
WINAPI
COMCTL32_StrStrIW
(
LPCWSTR
lpStr1
,
LPCWSTR
lpStr2
)
{
INT
len1
,
len2
,
i
;
WCHAR
first
;
if
(
*
lpStr2
==
0
)
return
((
LPWSTR
)
lpStr1
);
len1
=
0
;
while
(
lpStr1
[
len1
]
!=
0
)
++
len1
;
len2
=
0
;
while
(
lpStr2
[
len2
]
!=
0
)
++
len2
;
if
(
len2
==
0
)
return
((
LPWSTR
)(
lpStr1
+
len1
));
first
=
tolowerW
(
*
lpStr2
);
while
(
len1
>=
len2
)
{
if
(
tolowerW
(
*
lpStr1
)
==
first
)
{
for
(
i
=
1
;
i
<
len2
;
++
i
)
if
(
tolowerW
(
lpStr1
[
i
])
!=
tolowerW
(
lpStr2
[
i
]))
break
;
if
(
i
>=
len2
)
return
((
LPWSTR
)
lpStr1
);
}
++
lpStr1
;
--
len1
;
}
return
(
NULL
);
}
/**************************************************************************
* StrToIntW [COMCTL32.365] Converts a wide char string to a signed integer.
*/
...
...
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