mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:11:34 +00:00
Stub for GetOverlappedResult.
This commit is contained in:
parent
e7957d6b48
commit
0ea089b6a8
13
files/file.c
13
files/file.c
|
@ -1107,6 +1107,19 @@ HFILE WINAPI _lclose( HFILE hFile )
|
|||
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)
|
||||
|
|
|
@ -1588,14 +1588,15 @@ INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
|
|||
DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
|
||||
DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
|
||||
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
|
||||
HMODULE WINAPI GetModuleHandleA(LPCSTR);
|
||||
HMODULE WINAPI GetModuleHandleW(LPCWSTR);
|
||||
HMODULE WINAPI GetModuleHandleA(LPCSTR);
|
||||
HMODULE WINAPI GetModuleHandleW(LPCWSTR);
|
||||
#define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle)
|
||||
UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
|
||||
UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
|
||||
BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL);
|
||||
UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
|
||||
UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
|
||||
#define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt)
|
||||
INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
|
||||
INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
|
||||
INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
|
||||
INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
|
||||
#define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection)
|
||||
DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
|
||||
DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
|
||||
|
@ -1761,6 +1762,7 @@ INT WINAPI lstrcmpiA(LPCSTR,LPCSTR);
|
|||
INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR);
|
||||
#define lstrcmpi WINELIB_NAME_AW(lstrcmpi)
|
||||
|
||||
|
||||
/* the following may be macros when compiling Wine */
|
||||
#ifndef SetLastError
|
||||
VOID WINAPI SetLastError(DWORD);
|
||||
|
|
|
@ -375,7 +375,7 @@ import ntdll.dll
|
|||
357 stdcall GetNumberOfConsoleInputEvents(long ptr) GetNumberOfConsoleInputEvents
|
||||
358 stdcall GetNumberOfConsoleMouseButtons(ptr) GetNumberOfConsoleMouseButtons
|
||||
359 stdcall GetOEMCP() GetOEMCP
|
||||
360 stub GetOverlappedResult
|
||||
360 stdcall GetOverlappedResult(long ptr ptr long) GetOverlappedResult
|
||||
361 stdcall GetPriorityClass(long) GetPriorityClass
|
||||
362 stdcall GetPrivateProfileIntA(str str long str) GetPrivateProfileIntA
|
||||
363 stdcall GetPrivateProfileIntW(wstr wstr long wstr) GetPrivateProfileIntW
|
||||
|
|
Loading…
Reference in a new issue