Commit 0ea089b6 authored by Moshe Vainer's avatar Moshe Vainer Committed by Alexandre Julliard

Stub for GetOverlappedResult.

parent e7957d6b
...@@ -1107,6 +1107,19 @@ HFILE WINAPI _lclose( HFILE hFile ) ...@@ -1107,6 +1107,19 @@ HFILE WINAPI _lclose( HFILE hFile )
return CloseHandle( hFile ) ? 0 : HFILE_ERROR; return CloseHandle( hFile ) ? 0 : HFILE_ERROR;
} }
/***********************************************************************
* GetOverlappedResult (KERNEL32.360)
*/
BOOL WINAPI GetOverlappedResult(HANDLE hFile,LPOVERLAPPED lpOverlapped,
LPDWORD lpNumberOfBytesTransferred,
BOOL bWait)
{
/* Since all i/o is currently synchronuos,
* return true, assuming ReadFile/WriteFile
* have completed the operation */
FIXME("NO Asynch I/O, assuming Read/Write succeeded\n" );
return TRUE;
}
/*********************************************************************** /***********************************************************************
* ReadFile (KERNEL32.428) * ReadFile (KERNEL32.428)
......
...@@ -1588,14 +1588,15 @@ INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT); ...@@ -1588,14 +1588,15 @@ INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD); DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD); DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName) #define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
HMODULE WINAPI GetModuleHandleA(LPCSTR); HMODULE WINAPI GetModuleHandleA(LPCSTR);
HMODULE WINAPI GetModuleHandleW(LPCWSTR); HMODULE WINAPI GetModuleHandleW(LPCWSTR);
#define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle) #define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle)
UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR); BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL);
UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR); UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
#define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt) #define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt)
INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR); INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR); INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
#define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection) #define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection)
DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR); DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR); DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
...@@ -1761,6 +1762,7 @@ INT WINAPI lstrcmpiA(LPCSTR,LPCSTR); ...@@ -1761,6 +1762,7 @@ INT WINAPI lstrcmpiA(LPCSTR,LPCSTR);
INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR); INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR);
#define lstrcmpi WINELIB_NAME_AW(lstrcmpi) #define lstrcmpi WINELIB_NAME_AW(lstrcmpi)
/* the following may be macros when compiling Wine */ /* the following may be macros when compiling Wine */
#ifndef SetLastError #ifndef SetLastError
VOID WINAPI SetLastError(DWORD); VOID WINAPI SetLastError(DWORD);
......
...@@ -375,7 +375,7 @@ import ntdll.dll ...@@ -375,7 +375,7 @@ import ntdll.dll
357 stdcall GetNumberOfConsoleInputEvents(long ptr) GetNumberOfConsoleInputEvents 357 stdcall GetNumberOfConsoleInputEvents(long ptr) GetNumberOfConsoleInputEvents
358 stdcall GetNumberOfConsoleMouseButtons(ptr) GetNumberOfConsoleMouseButtons 358 stdcall GetNumberOfConsoleMouseButtons(ptr) GetNumberOfConsoleMouseButtons
359 stdcall GetOEMCP() GetOEMCP 359 stdcall GetOEMCP() GetOEMCP
360 stub GetOverlappedResult 360 stdcall GetOverlappedResult(long ptr ptr long) GetOverlappedResult
361 stdcall GetPriorityClass(long) GetPriorityClass 361 stdcall GetPriorityClass(long) GetPriorityClass
362 stdcall GetPrivateProfileIntA(str str long str) GetPrivateProfileIntA 362 stdcall GetPrivateProfileIntA(str str long str) GetPrivateProfileIntA
363 stdcall GetPrivateProfileIntW(wstr wstr long wstr) GetPrivateProfileIntW 363 stdcall GetPrivateProfileIntW(wstr wstr long wstr) GetPrivateProfileIntW
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment