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
7e266e9e
Commit
7e266e9e
authored
Oct 28, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Oct 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added stubs for _18,_21,_22 which seem to be used only by native
shdocvw.dll - Implemented _26, _27, _28, _32, and _34 (more isw... functions).
parent
68a705cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
17 deletions
+109
-17
ordinal.c
dlls/shlwapi/ordinal.c
+100
-8
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+9
-9
No files found.
dlls/shlwapi/ordinal.c
View file @
7e266e9e
...
...
@@ -212,6 +212,62 @@ HRESULT WINAPI SHLWAPI_16 (
}
/*************************************************************************
* @ [SHLWAPI.18]
*
* w is pointer to address of callback routine
* x is pointer to LPVOID to receive address of locally allocated
* space size 0x14
* return is 0 (unless out of memory???)
*
* related to _21 and _22 below
* only seen invoked by SHDOCVW
*/
LONG
WINAPI
SHLWAPI_18
(
LPVOID
*
w
,
LPVOID
x
)
{
FIXME
(
"(%p %p)stub
\n
"
,
w
,
x
);
*
w
=
0
;
return
0
;
}
/*************************************************************************
* @ [SHLWAPI.21]
*
* w points to space allocated via .18 above
* LocalSize is done on it (retrieves 18)
* LocalReAlloc is done on it to size 8 with LMEM_MOVEABLE & LMEM_ZEROINIT
* x values seen 0xa0000005
* returns 1
*
* relates to _18 and _22 above and below
* only seen invoked by SHDOCVW
*/
LONG
WINAPI
SHLWAPI_21
(
LPVOID
w
,
DWORD
x
)
{
FIXME
(
"(%p %lx)stub
\n
"
,
w
,
x
);
return
1
;
}
/*************************************************************************
* @ [SHLWAPI.22]
*
* return is 'w' value seen in x is 0xa0000005
*
* relates to _18 and _21 above
* only seen invoked by SHDOCVW
*/
LPVOID
WINAPI
SHLWAPI_22
(
LPVOID
w
,
DWORD
x
)
{
FIXME
(
"(%p %lx)stub
\n
"
,
w
,
x
);
return
w
;
}
/*************************************************************************
* @ [SHLWAPI.23]
*
* NOTES
...
...
@@ -267,6 +323,36 @@ BOOL WINAPI SHLWAPI_25(WCHAR wc)
}
/*************************************************************************
* SHLWAPI_26 [SHLWAPI.26]
*
* Seems to be iswupper
*/
BOOL
WINAPI
SHLWAPI_26
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_UPPER
)
!=
0
;
}
/*************************************************************************
* SHLWAPI_27 [SHLWAPI.27]
*
* Seems to be iswlower
*/
BOOL
WINAPI
SHLWAPI_27
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_LOWER
)
!=
0
;
}
/*************************************************************************
* SHLWAPI_28 [SHLWAPI.28]
*
* Seems to be iswalnum
*/
BOOL
WINAPI
SHLWAPI_28
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
(
C1_ALPHA
|
C1_DIGIT
))
!=
0
;
}
/*************************************************************************
* SHLWAPI_29 [SHLWAPI.29]
*
* Seems to be iswspace
...
...
@@ -298,16 +384,12 @@ BOOL WINAPI SHLWAPI_31(WCHAR wc)
/*************************************************************************
* @ [SHLWAPI.32]
*
* Seems to be iswcntrl
*/
BOOL
WINAPI
SHLWAPI_32
(
LPCWSTR
lpcChar
)
BOOL
WINAPI
SHLWAPI_32
(
WCHAR
wc
)
{
if
(
*
lpcChar
<
(
WCHAR
)
' '
)
return
TRUE
;
/* This is probably a shlwapi bug, but we do it the same for compatability */
if
(((
DWORD
)
lpcChar
&
0xffff
)
-
127
<=
(
WCHAR
)
' '
)
return
TRUE
;
return
FALSE
;
return
(
get_char_typeW
(
wc
)
&
C1_CNTRL
)
!=
0
;
}
/*************************************************************************
...
...
@@ -321,6 +403,16 @@ BOOL WINAPI SHLWAPI_33(WCHAR wc)
}
/*************************************************************************
* SHLWAPI_34 [SHLWAPI.34]
*
* Seems to be iswxdigit
*/
BOOL
WINAPI
SHLWAPI_34
(
WCHAR
wc
)
{
return
(
get_char_typeW
(
wc
)
&
C1_XDIGIT
)
!=
0
;
}
/*************************************************************************
* SHLWAPI_35 [SHLWAPI.35]
*
*/
...
...
dlls/shlwapi/shlwapi.spec
View file @
7e266e9e
...
...
@@ -27,23 +27,23 @@ debug_channels (shell)
15 stdcall @(ptr ptr) SHLWAPI_15
16 stdcall @(long long long long) SHLWAPI_16
17 stub @
18 st
ub @
18 st
dcall @(ptr ptr) SHLWAPI_18
19 stub @
20 stub @
21 st
ub @
22 st
ub @
21 st
dcall @(ptr long) SHLWAPI_21
22 st
dcall @(ptr long) SHLWAPI_22
23 stdcall @(ptr ptr long) SHLWAPI_23
24 stdcall @(ptr ptr long) SHLWAPI_24
25 stdcall @(long) SHLWAPI_25
26 st
ub @
27 st
ub @
28 st
ub @
26 st
dcall @(long) SHLWAPI_26
27 st
dcall @(long) SHLWAPI_27
28 st
dcall @(long) SHLWAPI_28
29 stdcall @(long) SHLWAPI_29
30 stdcall @(long) SHLWAPI_30
31 stdcall @(long) SHLWAPI_31
32 stdcall @(ptr) SHLWAPI_32
33 stdcall @(long) SHLWAPI_33
34 st
ub @
34 st
dcall @(long) SHLWAPI_34
35 stdcall @(ptr long ptr) SHLWAPI_35
36 stub @
37 forward @ user32.CallWindowProcW
...
...
@@ -665,8 +665,8 @@ debug_channels (shell)
@ stdcall UrlApplySchemeW(str ptr ptr long) UrlApplySchemeW
@ stdcall UrlCanonicalizeA(str ptr ptr long) UrlCanonicalizeA
@ stdcall UrlCanonicalizeW(wstr ptr ptr long) UrlCanonicalizeW
@ st
ub
UrlCombineA
@ st
ub
UrlCombineW
@ st
dcall UrlCombineA(str str str ptr long)
UrlCombineA
@ st
dcall UrlCombineW(wstr wstr wstr ptr long)
UrlCombineW
@ stub UrlCompareA
@ stub UrlCompareW
@ stub UrlCreateFromPathA
...
...
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