dplayx: Use SUCCEEDED instead of !FAILED.

This commit is contained in:
Michael Stefaniuc 2008-10-08 01:35:48 +02:00 committed by Alexandre Julliard
parent 0312b96474
commit 4afe790387
2 changed files with 2 additions and 2 deletions

View file

@ -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 ) );

View file

@ -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;