kernel32: Fix EscapeCommFunction prototype.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2017-06-16 18:45:07 +02:00 committed by Alexandre Julliard
parent a77d957da8
commit 1ab9c9d849
2 changed files with 2 additions and 2 deletions

View File

@ -592,7 +592,7 @@ BOOL WINAPI ClearCommBreak(HANDLE handle)
* false if the device is not present cannot execute the command
* or the command failed.
*/
BOOL WINAPI EscapeCommFunction(HANDLE handle, UINT func)
BOOL WINAPI EscapeCommFunction(HANDLE handle, DWORD func)
{
DWORD ioc;
DWORD dwBytesReturned;

View File

@ -1899,7 +1899,7 @@ WINBASEAPI BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
WINBASEAPI BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD);
WINADVAPI BOOL WINAPI DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE);
WINADVAPI BOOL WINAPI DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE);
WINBASEAPI BOOL WINAPI EscapeCommFunction(HANDLE,UINT);
WINBASEAPI BOOL WINAPI EscapeCommFunction(HANDLE,DWORD);
WINBASEAPI void * WINAPI EncodePointer(void *);
WINBASEAPI void * WINAPI EncodeSystemPointer(void *);
WINADVAPI BOOL WINAPI EncryptFileA(LPCSTR);