Module: wine Branch: master Commit: 4b57bd599bf1637f7bfbf98f49099092c482a80b URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b57bd599bf1637f7bfbf98f49...
Author: Francois Gouget fgouget@free.fr Date: Tue Nov 7 00:39:41 2006 +0100
dplayx: Fix spelling of the DPLAYX_AcquireSemaphore() macro.
---
dlls/dplayx/dplayx_global.c | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dlls/dplayx/dplayx_global.c b/dlls/dplayx/dplayx_global.c index d58271d..9963361 100644 --- a/dlls/dplayx/dplayx_global.c +++ b/dlls/dplayx/dplayx_global.c @@ -60,7 +60,7 @@ static HANDLE hDplayxSharedMem; static LPVOID lpSharedStaticData = NULL;
-#define DPLAYX_AquireSemaphore() TRACE( "Waiting for DPLAYX semaphore\n" ); \ +#define DPLAYX_AcquireSemaphore() TRACE( "Waiting for DPLAYX semaphore\n" ); \ WaitForSingleObject( hDplayxSema, INFINITE );\ TRACE( "Through wait\n" )
@@ -242,7 +242,7 @@ BOOL DPLAYX_ConstructData(void) else if ( GetLastError() == ERROR_ALREADY_EXISTS ) { TRACE( "Found semaphore handle %p\n", hDplayxSema ); - DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore(); } else { @@ -401,7 +401,7 @@ void DPLAYX_InitializeLobbyDataEntry( LP ZeroMemory( lpData, sizeof( *lpData ) ); }
-/* NOTE: This must be called with the semaphore aquired. +/* NOTE: This must be called with the semaphore acquired. * TRUE/FALSE with a pointer to it's data returned. Pointer data is * is only valid if TRUE is returned. */ @@ -442,7 +442,7 @@ BOOL DPLAYX_CreateLobbyApplication( DWOR return FALSE; }
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
/* Find an empty space in the list and insert the data */ for( i=0; i < numSupportedLobbies; i++ ) @@ -477,7 +477,7 @@ BOOL DPLAYX_DestroyLobbyApplication( DWO { UINT i;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
/* Find an empty space in the list and insert the data */ for( i=0; i < numSupportedLobbies; i++ ) @@ -510,7 +510,7 @@ BOOL DPLAYX_SetLobbyHandles( DWORD dwApp return FALSE; }
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if( !DPLAYX_IsAppIdLobbied( dwAppID, &lpLData ) ) { @@ -534,7 +534,7 @@ BOOL DPLAYX_GetThisLobbyHandles( LPHANDL { LPDPLAYX_LOBBYDATA lpLData;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if( !DPLAYX_IsAppIdLobbied( 0, &lpLData ) ) { @@ -608,7 +608,7 @@ ( DWORD dwAppID, DWORD dwRequiredDataSize = 0; HANDLE hInformOnSettingRead;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if ( ! DPLAYX_IsAppIdLobbied( dwAppID, &lpDplData ) ) { @@ -732,7 +732,7 @@ ( DWORD dwAppID, DWORD dwRequiredDataSize = 0; HANDLE hInformOnSettingRead;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if ( ! DPLAYX_IsAppIdLobbied( dwAppID, &lpDplData ) ) { @@ -872,7 +872,7 @@ ( DWORD dwFlags, return DPERR_INVALIDPARAMS; }
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if ( ! DPLAYX_IsAppIdLobbied( dwAppID, &lpDplData ) ) { @@ -934,7 +934,7 @@ ( DWORD dwFlags, return DPERR_INVALIDPARAMS; }
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if ( ! DPLAYX_IsAppIdLobbied( dwAppID, &lpDplData ) ) { @@ -1145,7 +1145,7 @@ BOOL DPLAYX_WaitForConnectionSettings( B { LPDPLAYX_LOBBYDATA lpLobbyData;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if( !DPLAYX_IsAppIdLobbied( 0, &lpLobbyData ) ) { @@ -1165,7 +1165,7 @@ BOOL DPLAYX_AnyLobbiesWaitingForConnSett UINT i; BOOL bFound = FALSE;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
for( i=0; i < numSupportedLobbies; i++ ) { @@ -1187,7 +1187,7 @@ BOOL DPLAYX_SetLobbyMsgThreadId( DWORD d { LPDPLAYX_LOBBYDATA lpLobbyData;
- DPLAYX_AquireSemaphore(); + DPLAYX_AcquireSemaphore();
if( !DPLAYX_IsAppIdLobbied( dwAppId, &lpLobbyData ) ) {