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
54c83b38
Commit
54c83b38
authored
Oct 24, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Use existing shlwapi/Win32 APIs to compare strings in Windows encoding.
parent
4009de36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
ordinal.c
dlls/shlwapi/ordinal.c
+9
-8
No files found.
dlls/shlwapi/ordinal.c
View file @
54c83b38
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winnls.h"
#include "winreg.h"
#include "winreg.h"
#include "wingdi.h"
#include "wingdi.h"
#include "winuser.h"
#include "winuser.h"
...
@@ -796,7 +797,7 @@ BOOL WINAPI SetDlgItemTextWrapW(HWND hWnd, INT iItem, LPCWSTR lpszText)
...
@@ -796,7 +797,7 @@ BOOL WINAPI SetDlgItemTextWrapW(HWND hWnd, INT iItem, LPCWSTR lpszText)
*/
*/
DWORD
WINAPI
StrCmpNCA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
,
INT
len
)
DWORD
WINAPI
StrCmpNCA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
,
INT
len
)
{
{
return
strncmp
(
lpszSrc
,
lpszCmp
,
len
);
return
StrCmpNA
(
lpszSrc
,
lpszCmp
,
len
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -806,7 +807,7 @@ DWORD WINAPI StrCmpNCA(LPCSTR lpszSrc, LPCSTR lpszCmp, INT len)
...
@@ -806,7 +807,7 @@ DWORD WINAPI StrCmpNCA(LPCSTR lpszSrc, LPCSTR lpszCmp, INT len)
*/
*/
DWORD
WINAPI
StrCmpNCW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
,
INT
len
)
DWORD
WINAPI
StrCmpNCW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
,
INT
len
)
{
{
return
strncmp
W
(
lpszSrc
,
lpszCmp
,
len
);
return
StrCmpN
W
(
lpszSrc
,
lpszCmp
,
len
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -825,7 +826,7 @@ DWORD WINAPI StrCmpNCW(LPCWSTR lpszSrc, LPCWSTR lpszCmp, INT len)
...
@@ -825,7 +826,7 @@ DWORD WINAPI StrCmpNCW(LPCWSTR lpszSrc, LPCWSTR lpszCmp, INT len)
*/
*/
DWORD
WINAPI
StrCmpNICA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
,
DWORD
len
)
DWORD
WINAPI
StrCmpNICA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
,
DWORD
len
)
{
{
return
strncasecmp
(
lpszSrc
,
lpszCmp
,
len
);
return
StrCmpNIA
(
lpszSrc
,
lpszCmp
,
len
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -835,7 +836,7 @@ DWORD WINAPI StrCmpNICA(LPCSTR lpszSrc, LPCSTR lpszCmp, DWORD len)
...
@@ -835,7 +836,7 @@ DWORD WINAPI StrCmpNICA(LPCSTR lpszSrc, LPCSTR lpszCmp, DWORD len)
*/
*/
DWORD
WINAPI
StrCmpNICW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
,
DWORD
len
)
DWORD
WINAPI
StrCmpNICW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
,
DWORD
len
)
{
{
return
strncmpi
W
(
lpszSrc
,
lpszCmp
,
len
);
return
StrCmpNI
W
(
lpszSrc
,
lpszCmp
,
len
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -853,7 +854,7 @@ DWORD WINAPI StrCmpNICW(LPCWSTR lpszSrc, LPCWSTR lpszCmp, DWORD len)
...
@@ -853,7 +854,7 @@ DWORD WINAPI StrCmpNICW(LPCWSTR lpszSrc, LPCWSTR lpszCmp, DWORD len)
*/
*/
DWORD
WINAPI
StrCmpCA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
)
DWORD
WINAPI
StrCmpCA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
)
{
{
return
strcmp
(
lpszSrc
,
lpszCmp
);
return
lstrcmpA
(
lpszSrc
,
lpszCmp
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -863,7 +864,7 @@ DWORD WINAPI StrCmpCA(LPCSTR lpszSrc, LPCSTR lpszCmp)
...
@@ -863,7 +864,7 @@ DWORD WINAPI StrCmpCA(LPCSTR lpszSrc, LPCSTR lpszCmp)
*/
*/
DWORD
WINAPI
StrCmpCW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
)
DWORD
WINAPI
StrCmpCW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
)
{
{
return
strcmpW
(
lpszSrc
,
lpszCmp
);
return
l
strcmpW
(
lpszSrc
,
lpszCmp
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -881,7 +882,7 @@ DWORD WINAPI StrCmpCW(LPCWSTR lpszSrc, LPCWSTR lpszCmp)
...
@@ -881,7 +882,7 @@ DWORD WINAPI StrCmpCW(LPCWSTR lpszSrc, LPCWSTR lpszCmp)
*/
*/
DWORD
WINAPI
StrCmpICA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
)
DWORD
WINAPI
StrCmpICA
(
LPCSTR
lpszSrc
,
LPCSTR
lpszCmp
)
{
{
return
strcasecmp
(
lpszSrc
,
lpszCmp
);
return
lstrcmpiA
(
lpszSrc
,
lpszCmp
);
}
}
/*************************************************************************
/*************************************************************************
...
@@ -891,7 +892,7 @@ DWORD WINAPI StrCmpICA(LPCSTR lpszSrc, LPCSTR lpszCmp)
...
@@ -891,7 +892,7 @@ DWORD WINAPI StrCmpICA(LPCSTR lpszSrc, LPCSTR lpszCmp)
*/
*/
DWORD
WINAPI
StrCmpICW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
)
DWORD
WINAPI
StrCmpICW
(
LPCWSTR
lpszSrc
,
LPCWSTR
lpszCmp
)
{
{
return
strcmpiW
(
lpszSrc
,
lpszCmp
);
return
l
strcmpiW
(
lpszSrc
,
lpszCmp
);
}
}
/*************************************************************************
/*************************************************************************
...
...
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