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
e2f07fb4
Commit
e2f07fb4
authored
Feb 16, 2005
by
Thomas Weidenmueller
Committed by
Alexandre Julliard
Feb 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forward to user32 when appropriate.
parent
c5003854
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
78 deletions
+22
-78
ordinal.c
dlls/shlwapi/ordinal.c
+18
-74
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+4
-4
No files found.
dlls/shlwapi/ordinal.c
View file @
e2f07fb4
...
...
@@ -681,74 +681,6 @@ INT WINAPI SHStringFromGUIDW(REFGUID guid, LPWSTR lpszDest, INT cchMax)
}
/*************************************************************************
* @ [SHLWAPI.25]
*
* Determine if a Unicode character is alphabetic.
*
* PARAMS
* wc [I] Character to check.
*
* RETURNS
* TRUE, if wc is alphabetic,
* FALSE otherwise.
*/
BOOL
WINAPI
IsCharAlphaWrapW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_ALPHA
)
!=
0
;
}
/*************************************************************************
* @ [SHLWAPI.26]
*
* Determine if a Unicode character is upper-case.
*
* PARAMS
* wc [I] Character to check.
*
* RETURNS
* TRUE, if wc is upper-case,
* FALSE otherwise.
*/
BOOL
WINAPI
IsCharUpperWrapW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_UPPER
)
!=
0
;
}
/*************************************************************************
* @ [SHLWAPI.27]
*
* Determine if a Unicode character is lower-case.
*
* PARAMS
* wc [I] Character to check.
*
* RETURNS
* TRUE, if wc is lower-case,
* FALSE otherwise.
*/
BOOL
WINAPI
IsCharLowerWrapW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_LOWER
)
!=
0
;
}
/*************************************************************************
* @ [SHLWAPI.28]
*
* Determine if a Unicode character is alphabetic or a digit.
*
* PARAMS
* wc [I] Character to check.
*
* RETURNS
* TRUE, if wc is alphabetic or a digit,
* FALSE otherwise.
*/
BOOL
WINAPI
IsCharAlphaNumericWrapW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
(
C1_ALPHA
|
C1_DIGIT
))
!=
0
;
}
/*************************************************************************
* @ [SHLWAPI.29]
*
* Determine if a Unicode character is a space.
...
...
@@ -762,7 +694,9 @@ BOOL WINAPI IsCharAlphaNumericWrapW(WCHAR wc)
*/
BOOL
WINAPI
IsCharSpaceW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_SPACE
)
!=
0
;
WORD
CharType
;
return
GetStringTypeW
(
CT_CTYPE1
,
&
wc
,
1
,
&
CharType
)
&&
(
CharType
&
C1_SPACE
);
}
/*************************************************************************
...
...
@@ -780,7 +714,9 @@ BOOL WINAPI IsCharSpaceW(WCHAR wc)
*/
BOOL
WINAPI
IsCharBlankW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_BLANK
)
!=
0
;
WORD
CharType
;
return
GetStringTypeW
(
CT_CTYPE1
,
&
wc
,
1
,
&
CharType
)
&&
(
CharType
&
C1_BLANK
);
}
/*************************************************************************
...
...
@@ -797,7 +733,9 @@ BOOL WINAPI IsCharBlankW(WCHAR wc)
*/
BOOL
WINAPI
IsCharPunctW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_PUNCT
)
!=
0
;
WORD
CharType
;
return
GetStringTypeW
(
CT_CTYPE1
,
&
wc
,
1
,
&
CharType
)
&&
(
CharType
&
C1_PUNCT
);
}
/*************************************************************************
...
...
@@ -814,7 +752,9 @@ BOOL WINAPI IsCharPunctW(WCHAR wc)
*/
BOOL
WINAPI
IsCharCntrlW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_CNTRL
)
!=
0
;
WORD
CharType
;
return
GetStringTypeW
(
CT_CTYPE1
,
&
wc
,
1
,
&
CharType
)
&&
(
CharType
&
C1_CNTRL
);
}
/*************************************************************************
...
...
@@ -831,7 +771,9 @@ BOOL WINAPI IsCharCntrlW(WCHAR wc)
*/
BOOL
WINAPI
IsCharDigitW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_DIGIT
)
!=
0
;
WORD
CharType
;
return
GetStringTypeW
(
CT_CTYPE1
,
&
wc
,
1
,
&
CharType
)
&&
(
CharType
&
C1_DIGIT
);
}
/*************************************************************************
...
...
@@ -848,7 +790,9 @@ BOOL WINAPI IsCharDigitW(WCHAR wc)
*/
BOOL
WINAPI
IsCharXDigitW
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_XDIGIT
)
!=
0
;
WORD
CharType
;
return
GetStringTypeW
(
CT_CTYPE1
,
&
wc
,
1
,
&
CharType
)
&&
(
CharType
&
C1_XDIGIT
);
}
/*************************************************************************
...
...
dlls/shlwapi/shlwapi.spec
View file @
e2f07fb4
...
...
@@ -22,10 +22,10 @@
22 stdcall -noname SHFindDataBlock(ptr long)
23 stdcall -noname SHStringFromGUIDA(ptr ptr long)
24 stdcall -noname SHStringFromGUIDW(ptr ptr long)
25 stdcall -noname IsCharAlphaWrapW(long)
26 stdcall -noname IsCharUpperWrapW(long)
27 stdcall -noname IsCharLowerWrapW(long)
28 stdcall -noname IsCharAlphaNumericWrapW(long)
25 stdcall -noname IsCharAlphaWrapW(long)
user32.IsCharAlphaW
26 stdcall -noname IsCharUpperWrapW(long)
user32.IsCharUpperW
27 stdcall -noname IsCharLowerWrapW(long)
user32.IsCharLowerW
28 stdcall -noname IsCharAlphaNumericWrapW(long)
user32.IsCharAlphaNumericW
29 stdcall -noname IsCharSpaceW(long)
30 stdcall -noname IsCharBlankW(long)
31 stdcall -noname IsCharPunctW(long)
...
...
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