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
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);
return FALSE;
}

View File

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

View File

@ -302,7 +302,7 @@ HRESULT WINAPI SHILCreateFromPathW (LPCWSTR path, LPITEMIDLIST * ppidl, DWORD *
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);
}
return ret;

View File

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

View File

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