Module: wine Branch: master Commit: 6a86e2e983a047bcb6e0ea4cf1288abfc080d904 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a86e2e983a047bcb6e0ea4cf1...
Author: Andreas Mohr andim2@users.sf.net Date: Fri Jul 25 18:49:50 2014 +0200
kernel32: Fix naming/spelling/typo of macro to HasOverlappedIoCompleted().
---
include/winbase.h | 2 +- programs/services/services.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/winbase.h b/include/winbase.h index a269833..3cbddc6 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -2071,7 +2071,7 @@ WINBASEAPI VOID WINAPI GlobalUnfix(HGLOBAL); WINBASEAPI BOOL WINAPI GlobalUnlock(HGLOBAL); WINBASEAPI BOOL WINAPI GlobalUnWire(HGLOBAL); WINBASEAPI LPVOID WINAPI GlobalWire(HGLOBAL); -#define HasOverlappedCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING) +#define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING) WINBASEAPI LPVOID WINAPI HeapAlloc(HANDLE,DWORD,SIZE_T) __WINE_ALLOC_SIZE(3); WINBASEAPI SIZE_T WINAPI HeapCompact(HANDLE,DWORD); WINBASEAPI HANDLE WINAPI HeapCreate(DWORD,SIZE_T,SIZE_T); diff --git a/programs/services/services.c b/programs/services/services.c index 632d92a..54d9e89 100644 --- a/programs/services/services.c +++ b/programs/services/services.c @@ -751,7 +751,7 @@ static BOOL service_send_start_message(struct service_entry *service, HANDLE pro handles[1] = process_handle; if (WaitForMultipleObjects( 2, handles, FALSE, service_pipe_timeout ) != WAIT_OBJECT_0) CancelIo( service->control_pipe ); - if (!HasOverlappedCompleted( &overlapped )) + if (!HasOverlappedIoCompleted( &overlapped )) { WINE_ERR( "service %s failed to start\n", wine_dbgstr_w( service->name )); return FALSE;