Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2004-02-27 21:32:54 +00:00 committed by Alexandre Julliard
parent 4f6a1d3475
commit 8f9b09e947
12 changed files with 21 additions and 27 deletions

View File

@ -34,7 +34,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(imm);
#define FROM_IME 0xcafe1337
static void (WINAPI *pX11DRV_ForceXIMReset)(HWND);
static void (*pX11DRV_ForceXIMReset)(HWND);
typedef struct tagInputContextData
{

View File

@ -1079,7 +1079,7 @@
@ stdcall FindActCtxSectionGuid(long ptr long ptr ptr)
@ stdcall FindActCtxSectionStringA(long ptr long str ptr)
@ stdcall FindActCtxSectionStringW(long ptr long wstr ptr)
@ stdcall GetCurrentActCtx()
@ stdcall GetCurrentActCtx(ptr)
@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
@ stdcall ReleaseActCtx(ptr)
@ stdcall ZombifyActCtx(ptr)

View File

@ -25,9 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif

View File

@ -136,6 +136,10 @@ static void wprint_name(WCHAR *buffer, int len, ULONG transport,
*ptr1 = *ptr2;
*ptr1 = '\0';
}
/***********************************************************************
* NetWkstaTransportEnum (NETAPI32.@)
*/
struct WkstaTransportEnumData
{
@ -146,6 +150,8 @@ struct WkstaTransportEnumData
NET_API_STATUS ret;
};
/**********************************************************************/
static BOOL WkstaEnumAdaptersCallback(UCHAR totalLANAs, UCHAR lanaIndex,
ULONG transport, const NetBIOSAdapterImpl *data, void *closure)
{
@ -237,6 +243,8 @@ static BOOL WkstaEnumAdaptersCallback(UCHAR totalLANAs, UCHAR lanaIndex,
return ret;
}
/**********************************************************************/
NET_API_STATUS WINAPI
NetWkstaTransportEnum(LPWSTR ServerName, DWORD level, PBYTE* pbuf,
DWORD prefmaxlen, LPDWORD read_entries,

View File

@ -33,9 +33,7 @@
#include "config.h"
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"

View File

@ -26,12 +26,8 @@
#include "config.h"
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>

View File

@ -24,12 +24,8 @@
#include "config.h"
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#define NONAMELESSUNION

View File

@ -72,7 +72,7 @@
@ stub RasSetSubEntryPropertiesA
@ stub RasSetSubEntryPropertiesW
@ stdcall RasValidateEntryNameA(str str)
@ stub RasValidateEntryNameW
@ stdcall RasValidateEntryNameW(wstr wstr)
500 stub RnaEngineRequest
501 stub DialEngineRequest

View File

@ -32,7 +32,7 @@
@ cdecl SelectFont(ptr long) PSDRV_SelectFont
@ cdecl SelectPen(ptr long) PSDRV_SelectPen
@ cdecl SetBkColor(ptr long) PSDRV_SetBkColor
@ cdecl SetDeviceClipping(ptr long) PSDRV_SetDeviceClipping
@ cdecl SetDeviceClipping(ptr long long) PSDRV_SetDeviceClipping
@ cdecl SetPixel(ptr long long long) PSDRV_SetPixel
@ cdecl SetTextColor(ptr long) PSDRV_SetTextColor
@ cdecl StartDoc(ptr ptr) PSDRV_StartDoc

View File

@ -26,9 +26,7 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif

View File

@ -52,7 +52,7 @@
@ cdecl SetDIBColorTable(ptr long long ptr) X11DRV_SetDIBColorTable
@ cdecl SetDIBits(ptr long long long ptr ptr long) X11DRV_SetDIBits
@ cdecl SetDIBitsToDevice(ptr long long long long long long long long ptr ptr long) X11DRV_SetDIBitsToDevice
@ cdecl SetDeviceClipping(ptr long) X11DRV_SetDeviceClipping
@ cdecl SetDeviceClipping(ptr long long) X11DRV_SetDeviceClipping
@ cdecl SetDeviceGammaRamp(ptr ptr) X11DRV_SetDeviceGammaRamp
@ cdecl SetPixel(ptr long long long) X11DRV_SetPixel
@ cdecl SetPixelFormat(ptr long ptr) X11DRV_SetPixelFormat

View File

@ -314,7 +314,7 @@ static void XIMPreEditCaretCallback(XIC ic, XPointer client_data,
FIXME("PreeditCaretCalback %p\n",ic);
}
void WINAPI X11DRV_ForceXIMReset(HWND hwnd)
void X11DRV_ForceXIMReset(HWND hwnd)
{
XIC ic = X11DRV_get_ic(hwnd);
if (ic)