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
06abe790
Commit
06abe790
authored
Aug 16, 2001
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 16, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially implement oleaut32.VarBstrCmp.
parent
658cdb44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
1 deletion
+33
-1
oleaut32.spec
dlls/oleaut32/oleaut32.spec
+1
-1
variant.c
dlls/oleaut32/variant.c
+32
-0
No files found.
dlls/oleaut32/oleaut32.spec
View file @
06abe790
...
...
@@ -318,7 +318,7 @@ debug_channels (ole typelib)
437 stub VarAdd # stdcall (ptr ptr ptr)
438 stub VarAnd # stdcall (ptr ptr ptr)
439 stub VarBstrCat # stdcall (ptr ptr ptr)
440 st
ub VarBstrCmp # stdcall (ptr ptr long long)
440 st
dcall VarBstrCmp(ptr ptr long long) VarBstrCmp
441 stub VarCat # stdcall (ptr ptr ptr)
442 stub VarCmp # stdcall (ptr ptr long long)
443 stub VarCyAbs
...
...
dlls/oleaut32/variant.c
View file @
06abe790
...
...
@@ -4640,3 +4640,35 @@ HRESULT WINAPI VarDateFromUdate(UDATE *pudateout,
return
i
;
}
/**********************************************************************
* VarBstrCmp [OLEAUT32.440]
*
* flags can be:
* NORM_IGNORECASE, NORM_IGNORENONSPACE, NORM_IGNORESYMBOLS
* NORM_IGNORESTRINGWIDTH, NORM_IGNOREKANATYPE, NORM_IGNOREKASHIDA
*
*/
HRESULT
WINAPI
VarBstrCmp
(
BSTR
left
,
BSTR
right
,
LCID
lcid
,
DWORD
flags
)
{
DWORD
r
;
FIXME
(
"( %s %s %ld %lx ) partial stub
\n
"
,
debugstr_w
(
left
),
debugstr_w
(
right
),
lcid
,
flags
);
if
((
!
left
)
||
(
!
right
))
return
VARCMP_NULL
;
if
(
flags
&
NORM_IGNORECASE
)
r
=
lstrcmpiW
(
left
,
right
);
else
r
=
lstrcmpW
(
left
,
right
);
if
(
r
<
0
)
return
VARCMP_LT
;
if
(
r
>
0
)
return
VARCMP_GT
;
return
VARCMP_EQ
;
}
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