Mercurial > mplayer.hg
view loader/wine/winestring.h @ 21234:f61fd8cc3128
Add a sanity check to unsafe-looking code.
Does the memcpy to internal buffer here have any purpose besides
enabling more potential buffer overflows?
author | uau |
---|---|
date | Sat, 25 Nov 2006 20:01:24 +0000 |
parents | 3b5f5d1c5041 |
children | 500e245c5425 |
line wrap: on
line source
#ifndef __WINE_WINE_WINESTRING_H #define __WINE_WINE_WINESTRING_H #include "windef.h" LPWSTR WINAPI lstrcpyAtoW(LPWSTR,LPCSTR); LPSTR WINAPI lstrcpyWtoA(LPSTR,LPCWSTR); LPWSTR WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT); LPSTR WINAPI lstrcpynWtoA(LPSTR,LPCWSTR,INT); #define lstrncmpiA strncasecmp #endif /* __WINE_WINE_WINESTRING_H */