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
4afe7903
Commit
4afe7903
authored
Oct 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Use SUCCEEDED instead of !FAILED.
parent
0312b964
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dplay.c
dlls/dplayx/dplay.c
+1
-1
dplayx_messages.c
dlls/dplayx/dplayx_messages.c
+1
-1
No files found.
dlls/dplayx/dplay.c
View file @
4afe7903
...
...
@@ -2323,7 +2323,7 @@ static HRESULT WINAPI DP_IF_EnumSessions
hr
=
NS_SendSessionRequestBroadcast
(
&
lpsd
->
guidApplication
,
dwFlags
,
&
This
->
dp2
->
spData
);
if
(
!
FAIL
ED
(
hr
)
)
if
(
SUCCEED
ED
(
hr
)
)
{
EnumSessionAsyncCallbackData
*
lpData
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
lpData
)
);
...
...
dlls/dplayx/dplayx_messages.c
View file @
4afe7903
...
...
@@ -233,7 +233,7 @@ HRESULT DP_MSG_SendRequestPlayerId( IDirectPlay2AImpl* This, DWORD dwFlags,
}
/* Need to examine the data and extract the new player id */
if
(
!
FAIL
ED
(
hr
)
)
if
(
SUCCEED
ED
(
hr
)
)
{
LPCDPMSG_NEWPLAYERIDREPLY
lpcReply
;
...
...
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