Eliminated warnings.

This commit is contained in:
Patrik Stridvall 1999-09-11 16:27:20 +00:00 committed by Alexandre Julliard
parent 25c62cc61f
commit f4fca7c459
5 changed files with 8 additions and 6 deletions

View File

@ -34,7 +34,7 @@ CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
BOOL WINAPI BOOL WINAPI
CryptSetKeyParam( HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags) CryptSetKeyParam( HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags)
{ {
FIXME_(advapi)("(%x, %lx, %p, %lx): stub!\n", FIXME_(advapi)("(%lx, %lx, %p, %lx): stub!\n",
hKey, dwParam, pbData, dwFlags); hKey, dwParam, pbData, dwFlags);
return FALSE; return FALSE;
} }

View File

@ -4,6 +4,8 @@
* Copyright 1998 Patrik Stridvall * Copyright 1998 Patrik Stridvall
*/ */
#include <string.h>
#include "winbase.h" #include "winbase.h"
#include "winuser.h" #include "winuser.h"
#include "winerror.h" #include "winerror.h"

View File

@ -302,7 +302,7 @@ HRESULT WINAPI SHILCreateFromPathW (LPCWSTR path, LPITEMIDLIST * ppidl, DWORD *
if (SUCCEEDED (SHGetDesktopFolder(&sf))) if (SUCCEEDED (SHGetDesktopFolder(&sf)))
{ {
ret = IShellFolder_ParseDisplayName(sf,0, NULL, path, &pchEaten, ppidl, attributes); ret = IShellFolder_ParseDisplayName(sf,0, NULL, (LPWSTR) path, &pchEaten, ppidl, attributes);
IShellFolder_Release(sf); IShellFolder_Release(sf);
} }
return ret; return ret;

View File

@ -3,8 +3,8 @@
#include "windef.h" #include "windef.h"
INT WINAPI WideCharToLocal(LPSTR,LPWSTR,INT); INT WINAPI WideCharToLocal(LPSTR,LPCWSTR,INT);
INT WINAPI LocalToWideChar(LPWSTR,LPSTR,INT); INT WINAPI LocalToWideChar(LPWSTR,LPCSTR,INT);
LPWSTR WINAPI lstrcpyAtoW(LPWSTR,LPCSTR); LPWSTR WINAPI lstrcpyAtoW(LPWSTR,LPCSTR);
LPSTR WINAPI lstrcpyWtoA(LPSTR,LPCWSTR); LPSTR WINAPI lstrcpyWtoA(LPSTR,LPCWSTR);
LPWSTR WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT); LPWSTR WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT);

View File

@ -638,7 +638,7 @@ BOOL WINAPI OemToCharW( LPCSTR s, LPWSTR d )
INT WINAPI WideCharToLocal( INT WINAPI WideCharToLocal(
LPSTR pLocal, LPSTR pLocal,
LPWSTR pWide, LPCWSTR pWide,
INT dwChars) INT dwChars)
{ *pLocal = 0; { *pLocal = 0;
TRACE("(%p, %s, %i)\n", pLocal, debugstr_w(pWide),dwChars); TRACE("(%p, %s, %i)\n", pLocal, debugstr_w(pWide),dwChars);
@ -654,7 +654,7 @@ INT WINAPI WideCharToLocal(
*/ */
INT WINAPI LocalToWideChar( INT WINAPI LocalToWideChar(
LPWSTR pWide, LPWSTR pWide,
LPSTR pLocal, LPCSTR pLocal,
INT dwChars) INT dwChars)
{ *pWide = 0; { *pWide = 0;
TRACE("(%p, %s, %i)\n",pWide, pLocal, dwChars); TRACE("(%p, %s, %i)\n",pWide, pLocal, dwChars);