mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
dplayx: Use SUCCEEDED instead of !FAILED.
This commit is contained in:
parent
0312b96474
commit
4afe790387
2 changed files with 2 additions and 2 deletions
|
@ -2323,7 +2323,7 @@ static HRESULT WINAPI DP_IF_EnumSessions
|
|||
hr = NS_SendSessionRequestBroadcast( &lpsd->guidApplication,
|
||||
dwFlags, &This->dp2->spData );
|
||||
|
||||
if( !FAILED(hr) )
|
||||
if( SUCCEEDED(hr) )
|
||||
{
|
||||
EnumSessionAsyncCallbackData* lpData
|
||||
= HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof( *lpData ) );
|
||||
|
|
|
@ -233,7 +233,7 @@ HRESULT DP_MSG_SendRequestPlayerId( IDirectPlay2AImpl* This, DWORD dwFlags,
|
|||
}
|
||||
|
||||
/* Need to examine the data and extract the new player id */
|
||||
if( !FAILED(hr) )
|
||||
if( SUCCEEDED(hr) )
|
||||
{
|
||||
LPCDPMSG_NEWPLAYERIDREPLY lpcReply;
|
||||
|
||||
|
|
Loading…
Reference in a new issue