Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aida Jonikienė
wine
Commits
52d1db19
Commit
52d1db19
authored
12 years ago
by
Esme Povirk
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
propsys: Stub PropVariantCompareEx.
parent
83cfd54f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/propsys/propsys.spec
+1
-1
1 addition, 1 deletion
dlls/propsys/propsys.spec
dlls/propsys/propvar.c
+8
-0
8 additions, 0 deletions
dlls/propsys/propvar.c
include/propvarutil.h
+27
-0
27 additions, 0 deletions
include/propvarutil.h
with
36 additions
and
1 deletion
dlls/propsys/propsys.spec
+
1
−
1
View file @
52d1db19
...
...
@@ -94,7 +94,7 @@
@ stdcall PSStringFromPropertyKey(ptr ptr long)
@ stdcall PSUnregisterPropertySchema(wstr)
@ stdcall PropVariantChangeType(ptr ptr long long)
@ st
ub
PropVariantCompareEx
@ st
dcall
PropVariantCompareEx
(ptr ptr long long)
@ stub PropVariantGetBooleanElem
@ stub PropVariantGetDoubleElem
@ stub PropVariantGetElementCount
...
...
This diff is collapsed.
Click to expand it.
dlls/propsys/propvar.c
+
8
−
0
View file @
52d1db19
...
...
@@ -283,3 +283,11 @@ HRESULT WINAPI VariantToGUID(const VARIANT *pvar, GUID *guid)
return
E_NOTIMPL
;
}
}
INT
WINAPI
PropVariantCompareEx
(
REFPROPVARIANT
propvar1
,
REFPROPVARIANT
propvar2
,
PROPVAR_COMPARE_UNIT
unit
,
PROPVAR_COMPARE_FLAGS
flags
)
{
FIXME
(
"%p,%p,%x,%x
\n
"
,
propvar1
,
propvar2
,
unit
,
flags
);
return
-
1
;
}
This diff is collapsed.
Click to expand it.
include/propvarutil.h
+
27
−
0
View file @
52d1db19
...
...
@@ -34,6 +34,31 @@ enum tagPROPVAR_CHANGE_FLAGS
typedef
int
PROPVAR_CHANGE_FLAGS
;
enum
tagPROPVAR_COMPARE_UNIT
{
PVCU_DEFAULT
=
0x00000000
,
PVCU_SECOND
=
0x00000001
,
PVCU_MINUTE
=
0x00000002
,
PVCU_HOUR
=
0x00000003
,
PVCU_DAY
=
0x00000004
,
PVCU_MONTH
=
0x00000005
,
PVCU_YEAR
=
0x00000006
,
};
typedef
int
PROPVAR_COMPARE_UNIT
;
enum
tagPROPVAR_COMPARE_FLAGS
{
PVCF_DEFAULT
=
0x00000000
,
PVCF_TREATEMPTYASGREATERTHAN
=
0x00000001
,
PVCF_USESTRCMP
=
0x00000002
,
PVCF_USESTRCMPC
=
0x00000004
,
PVCF_USESTRCMPI
=
0x00000008
,
PVCF_USESTRCMPIC
=
0x00000010
,
};
typedef
int
PROPVAR_COMPARE_FLAGS
;
HRESULT
WINAPI
PropVariantChangeType
(
PROPVARIANT
*
ppropvarDest
,
REFPROPVARIANT
propvarSrc
,
PROPVAR_CHANGE_FLAGS
flags
,
VARTYPE
vt
);
HRESULT
WINAPI
InitPropVariantFromGUIDAsString
(
REFGUID
guid
,
PROPVARIANT
*
ppropvar
);
...
...
@@ -42,6 +67,8 @@ HRESULT WINAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *p
HRESULT
WINAPI
InitVariantFromBuffer
(
const
VOID
*
pv
,
UINT
cb
,
VARIANT
*
pvar
);
HRESULT
WINAPI
PropVariantToGUID
(
const
PROPVARIANT
*
ppropvar
,
GUID
*
guid
);
HRESULT
WINAPI
VariantToGUID
(
const
VARIANT
*
pvar
,
GUID
*
guid
);
INT
WINAPI
PropVariantCompareEx
(
REFPROPVARIANT
propvar1
,
REFPROPVARIANT
propvar2
,
PROPVAR_COMPARE_UNIT
uint
,
PROPVAR_COMPARE_FLAGS
flags
);
#ifdef __cplusplus
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment