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
40c6c18b
Commit
40c6c18b
authored
Feb 10, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Update another HRESULT definition.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
73a05ffb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
dplayx_main.c
dlls/dplayx/dplayx_main.c
+1
-1
itemmoniker.c
dlls/ole32/itemmoniker.c
+2
-2
winerror.h
include/winerror.h
+3
-3
No files found.
dlls/dplayx/dplayx_main.c
View file @
40c6c18b
...
...
@@ -107,7 +107,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
* as well?
*/
TRACE
(
": returning
0x%08
x
\n
"
,
hr
);
TRACE
(
": returning
%#l
x
\n
"
,
hr
);
return
hr
;
}
dlls/ole32/itemmoniker.c
View file @
40c6c18b
...
...
@@ -451,7 +451,7 @@ static HRESULT WINAPI ItemMonikerImpl_BindToObject(IMoniker* iface,
if
(
SUCCEEDED
(
hr
))
{
if
(
FAILED
(
hr
=
set_container_lock
(
container
,
pbc
)))
WARN
(
"Failed to lock container, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to lock container, hr %#
l
x.
\n
"
,
hr
);
hr
=
IOleItemContainer_GetObject
(
container
,
This
->
itemName
,
get_bind_speed_from_bindctx
(
pbc
),
pbc
,
riid
,
ppvResult
);
...
...
@@ -482,7 +482,7 @@ static HRESULT WINAPI ItemMonikerImpl_BindToStorage(IMoniker *iface, IBindCtx *p
if
(
SUCCEEDED
(
hr
))
{
if
(
FAILED
(
hr
=
set_container_lock
(
container
,
pbc
)))
WARN
(
"Failed to lock container, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to lock container, hr %#
l
x.
\n
"
,
hr
);
hr
=
IOleItemContainer_GetObjectStorage
(
container
,
moniker
->
itemName
,
pbc
,
riid
,
ppvResult
);
IOleItemContainer_Release
(
container
);
...
...
include/winerror.h
View file @
40c6c18b
...
...
@@ -89,11 +89,11 @@
#define __HRESULT_FROM_WIN32(x) ((HRESULT)(x) > 0 ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : (HRESULT)(x) )
#ifndef _HRESULT_DEFINED
#define _HRESULT_DEFINED
#
ifdef _MSC_VER
#
if !defined(__LP64__) && !defined(WINE_NO_LONG_TYPES)
typedef
long
HRESULT
;
#
else
#else
typedef
int
HRESULT
;
#
endif
#endif
#endif
static
inline
HRESULT
HRESULT_FROM_WIN32
(
unsigned
int
x
)
{
...
...
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