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
7533040c
Commit
7533040c
authored
Feb 10, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Feb 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propsys: Use BOOL type where appropriate.
parent
0776a76e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
propstore.c
dlls/propsys/propstore.c
+7
-7
No files found.
dlls/propsys/propstore.c
View file @
7533040c
...
...
@@ -204,7 +204,7 @@ static HRESULT WINAPI PropertyStore_GetAt(IPropertyStoreCache *iface,
}
static
HRESULT
PropertyStore_LookupValue
(
PropertyStore
*
This
,
REFPROPERTYKEY
key
,
int
insert
,
propstore_value
**
result
)
BOOL
insert
,
propstore_value
**
result
)
{
propstore_format
*
format
=
NULL
,
*
format_candidate
;
propstore_value
*
value
=
NULL
,
*
value_candidate
;
...
...
@@ -282,7 +282,7 @@ static HRESULT WINAPI PropertyStore_GetValue(IPropertyStoreCache *iface,
EnterCriticalSection
(
&
This
->
lock
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
0
,
&
value
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
FALSE
,
&
value
);
if
(
SUCCEEDED
(
hr
))
hr
=
PropVariantCopy
(
pv
,
&
value
->
propvar
);
...
...
@@ -309,7 +309,7 @@ static HRESULT WINAPI PropertyStore_SetValue(IPropertyStoreCache *iface,
EnterCriticalSection
(
&
This
->
lock
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
1
,
&
value
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
TRUE
,
&
value
);
if
(
SUCCEEDED
(
hr
))
hr
=
PropVariantCopy
(
&
temp
,
propvar
);
...
...
@@ -342,7 +342,7 @@ static HRESULT WINAPI PropertyStore_GetState(IPropertyStoreCache *iface,
EnterCriticalSection
(
&
This
->
lock
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
0
,
&
value
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
FALSE
,
&
value
);
if
(
SUCCEEDED
(
hr
))
*
pstate
=
value
->
state
;
...
...
@@ -366,7 +366,7 @@ static HRESULT WINAPI PropertyStore_GetValueAndState(IPropertyStoreCache *iface,
EnterCriticalSection
(
&
This
->
lock
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
0
,
&
value
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
FALSE
,
&
value
);
if
(
SUCCEEDED
(
hr
))
hr
=
PropVariantCopy
(
ppropvar
,
&
value
->
propvar
);
...
...
@@ -396,7 +396,7 @@ static HRESULT WINAPI PropertyStore_SetState(IPropertyStoreCache *iface,
EnterCriticalSection
(
&
This
->
lock
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
0
,
&
value
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
FALSE
,
&
value
);
if
(
SUCCEEDED
(
hr
))
value
->
state
=
pstate
;
...
...
@@ -418,7 +418,7 @@ static HRESULT WINAPI PropertyStore_SetValueAndState(IPropertyStoreCache *iface,
EnterCriticalSection
(
&
This
->
lock
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
1
,
&
value
);
hr
=
PropertyStore_LookupValue
(
This
,
key
,
TRUE
,
&
value
);
if
(
SUCCEEDED
(
hr
))
hr
=
PropVariantCopy
(
&
temp
,
ppropvar
);
...
...
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