Commit 17d1e9e5 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed issues found by winapi_check.

parent 0d974815
......@@ -324,7 +324,9 @@ HRESULT WINAPI DirectDrawCreate(
return ret;
}
/***********************************************************************
* DirectDrawCreateEx
*/
HRESULT WINAPI DirectDrawCreateEx(
LPGUID lpGUID, LPVOID* lplpDD, REFIID iid, LPUNKNOWN pUnkOuter
) {
......
......@@ -334,7 +334,7 @@ BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
}
/***********************************************************************
* wglUseFontBitmaps
* wglUseFontBitmapsA
*/
BOOL WINAPI wglUseFontBitmapsA(HDC hdc,
DWORD first,
......@@ -356,7 +356,7 @@ BOOL WINAPI wglUseFontBitmapsA(HDC hdc,
}
/***********************************************************************
* wglUseFontOutlines
* wglUseFontOutlinesA
*/
BOOL WINAPI wglUseFontOutlinesA(HDC hdc,
DWORD first,
......
......@@ -5,6 +5,8 @@
* Copyright 2000 Alexandre Julliard
*/
#include "config.h"
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -175,7 +175,6 @@ extern BOOL X11DRV_OBM_Init(void);
struct tagBITMAPOBJ;
extern XImage *X11DRV_BITMAP_GetXImage( const struct tagBITMAPOBJ *bmp );
extern int X11DRV_DIB_GetXImageWidthBytes( int width, int depth );
extern BOOL X11DRV_DIB_Init(void);
extern HBITMAP X11DRV_BITMAP_CreateBitmapHeaderFromPixmap(Pixmap pixmap);
extern HGLOBAL X11DRV_DIB_CreateDIBFromPixmap(Pixmap pixmap, HDC hdc, BOOL bDeletePixmap);
extern HBITMAP X11DRV_BITMAP_CreateBitmapFromPixmap(Pixmap pixmap, BOOL bDeletePixmap);
......
......@@ -1241,12 +1241,12 @@ static int get_prefix_len( struct key *key, const char *name, struct file_load_i
WCHAR *p;
int res;
int len = strlen(name) * sizeof(WCHAR);
if (!get_file_tmp_space( info, len )) return NULL;
if (!get_file_tmp_space( info, len )) return 0;
if ((res = parse_strW( (WCHAR *)info->tmp, &len, name, ']' )) == -1)
{
file_read_error( "Malformed key", info );
return NULL;
return 0;
}
for (p = (WCHAR *)info->tmp; *p; p++) if (*p == '\\') break;
*p = 0;
......
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