-fixed msvc /W4 warnings

-removed ntdll dependency

svn path=/trunk/; revision=22908
This commit is contained in:
Christoph von Wittich 2006-07-08 10:00:15 +00:00
parent 1b176ca010
commit 1cfcb1d9f5
2 changed files with 9 additions and 3 deletions

View file

@ -31,6 +31,7 @@ HINSTANCE g_hModule = 0;
*/
BOOL WINAPI WEP(DWORD Unknown)
{
UNREFERENCED_PARAMETER(Unknown);
return TRUE;
}
@ -229,13 +230,19 @@ BOOL WINAPI cdtDrawExt(HDC hdc, INT x, INT y, INT dx, INT dy, INT card, INT type
*/
BOOL WINAPI cdtAnimate(HDC hdc, int cardback, int x, int y, int frame)
{
UNREFERENCED_PARAMETER(frame);
UNREFERENCED_PARAMETER(y);
UNREFERENCED_PARAMETER(x);
UNREFERENCED_PARAMETER(cardback);
UNREFERENCED_PARAMETER(hdc);
return TRUE;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH)
UNREFERENCED_PARAMETER(lpvReserved);
if (fdwReason == DLL_PROCESS_ATTACH)
g_hModule = hinstDLL;
return TRUE;
return TRUE;
}

View file

@ -4,7 +4,6 @@
<define name="UNICODE" />
<define name="_UNICODE" />
<define name="__USE_W32API" />
<library>ntdll</library>
<library>kernel32</library>
<library>gdi32</library>
<library>user32</library>