Fix building 'make test'

svn path=/trunk/; revision=17027
This commit is contained in:
Casper Hornstrup 2005-08-03 19:15:47 +00:00
parent 8f8a4dbabd
commit 157587d815
4 changed files with 19 additions and 7 deletions

View file

@ -78,8 +78,8 @@ ControlNormalTest(HANDLE hThread,
PERFORM_TEST_ARGS *Args,
DWORD TimeOut)
{
FILETIME time;
FILETIME executionTime;
_FILETIME time;
_FILETIME executionTime;
DWORD status;
status = _WaitForSingleObject(hThread, TimeOut);

View file

@ -9,6 +9,14 @@
#include <stdio.h>
#include <string.h>
typedef DWORD (STDCALL _LPTHREAD_START_ROUTINE)(LPVOID lpParameter);
typedef struct __FILETIME
{
DWORD dwLowDateTime;
DWORD dwHighDateTime;
} _FILETIME, *_PFILETIME, *_LPFILETIME;
extern void SetupOnce();
#define _SetupOnce() \
@ -195,7 +203,7 @@ _ExitProcess(UINT uExitCode);
HANDLE STDCALL
_CreateThread(LPSECURITY_ATTRIBUTES lpThreadAttributes, DWORD dwStackSize,
LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter,
_LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter,
DWORD dwCreationFlags, LPDWORD lpThreadId);
WINBOOL STDCALL
@ -211,9 +219,11 @@ VOID STDCALL
_CloseHandle(HANDLE handle);
BOOL STDCALL
_GetThreadTimes(HANDLE hThread, LPFILETIME lpCreationTime,
LPFILETIME lpExitTime, LPFILETIME lpKernelTime,
LPFILETIME lpUserTime);
_GetThreadTimes(HANDLE hThread,
_LPFILETIME lpCreationTime,
_LPFILETIME lpExitTime,
_LPFILETIME lpKernelTime,
_LPFILETIME lpUserTime);
BOOL STDCALL
_SetPriorityClass(HANDLE hProcess, DWORD dwPriorityClass);

View file

@ -148,6 +148,8 @@
<symbol>PsGetThreadWin32Thread@4</symbol>
<symbol>PsEstablishWin32Callouts@4</symbol>
<symbol>PsSetThreadWin32Thread@8</symbol>
<symbol>ProbeForRead@12</symbol>
<symbol>ProbeForWrite@12</symbol>
</component>
<component name="freetype.dll">
<symbol>FT_Init_FreeType</symbol>

View file

@ -9,7 +9,7 @@ static void SetupSurface(SURFOBJ* surface, RECTL* rect)
UINT size;
UINT depth;
ZeroMemory(surface, sizeof(SURFOBJ));
RtlZeroMemory(surface, sizeof(SURFOBJ));
depth = BitsPerFormat(BMF_24BPP);
sizex = rect->right - rect->left;
sizey = rect->bottom - rect->top;