mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 05:55:48 +00:00
Fix building 'make test'
svn path=/trunk/; revision=17027
This commit is contained in:
parent
8f8a4dbabd
commit
157587d815
4 changed files with 19 additions and 7 deletions
|
@ -78,8 +78,8 @@ ControlNormalTest(HANDLE hThread,
|
||||||
PERFORM_TEST_ARGS *Args,
|
PERFORM_TEST_ARGS *Args,
|
||||||
DWORD TimeOut)
|
DWORD TimeOut)
|
||||||
{
|
{
|
||||||
FILETIME time;
|
_FILETIME time;
|
||||||
FILETIME executionTime;
|
_FILETIME executionTime;
|
||||||
DWORD status;
|
DWORD status;
|
||||||
|
|
||||||
status = _WaitForSingleObject(hThread, TimeOut);
|
status = _WaitForSingleObject(hThread, TimeOut);
|
||||||
|
|
|
@ -9,6 +9,14 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.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();
|
extern void SetupOnce();
|
||||||
|
|
||||||
#define _SetupOnce() \
|
#define _SetupOnce() \
|
||||||
|
@ -195,7 +203,7 @@ _ExitProcess(UINT uExitCode);
|
||||||
|
|
||||||
HANDLE STDCALL
|
HANDLE STDCALL
|
||||||
_CreateThread(LPSECURITY_ATTRIBUTES lpThreadAttributes, DWORD dwStackSize,
|
_CreateThread(LPSECURITY_ATTRIBUTES lpThreadAttributes, DWORD dwStackSize,
|
||||||
LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter,
|
_LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter,
|
||||||
DWORD dwCreationFlags, LPDWORD lpThreadId);
|
DWORD dwCreationFlags, LPDWORD lpThreadId);
|
||||||
|
|
||||||
WINBOOL STDCALL
|
WINBOOL STDCALL
|
||||||
|
@ -211,9 +219,11 @@ VOID STDCALL
|
||||||
_CloseHandle(HANDLE handle);
|
_CloseHandle(HANDLE handle);
|
||||||
|
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
_GetThreadTimes(HANDLE hThread, LPFILETIME lpCreationTime,
|
_GetThreadTimes(HANDLE hThread,
|
||||||
LPFILETIME lpExitTime, LPFILETIME lpKernelTime,
|
_LPFILETIME lpCreationTime,
|
||||||
LPFILETIME lpUserTime);
|
_LPFILETIME lpExitTime,
|
||||||
|
_LPFILETIME lpKernelTime,
|
||||||
|
_LPFILETIME lpUserTime);
|
||||||
|
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
_SetPriorityClass(HANDLE hProcess, DWORD dwPriorityClass);
|
_SetPriorityClass(HANDLE hProcess, DWORD dwPriorityClass);
|
||||||
|
|
|
@ -148,6 +148,8 @@
|
||||||
<symbol>PsGetThreadWin32Thread@4</symbol>
|
<symbol>PsGetThreadWin32Thread@4</symbol>
|
||||||
<symbol>PsEstablishWin32Callouts@4</symbol>
|
<symbol>PsEstablishWin32Callouts@4</symbol>
|
||||||
<symbol>PsSetThreadWin32Thread@8</symbol>
|
<symbol>PsSetThreadWin32Thread@8</symbol>
|
||||||
|
<symbol>ProbeForRead@12</symbol>
|
||||||
|
<symbol>ProbeForWrite@12</symbol>
|
||||||
</component>
|
</component>
|
||||||
<component name="freetype.dll">
|
<component name="freetype.dll">
|
||||||
<symbol>FT_Init_FreeType</symbol>
|
<symbol>FT_Init_FreeType</symbol>
|
||||||
|
|
|
@ -9,7 +9,7 @@ static void SetupSurface(SURFOBJ* surface, RECTL* rect)
|
||||||
UINT size;
|
UINT size;
|
||||||
UINT depth;
|
UINT depth;
|
||||||
|
|
||||||
ZeroMemory(surface, sizeof(SURFOBJ));
|
RtlZeroMemory(surface, sizeof(SURFOBJ));
|
||||||
depth = BitsPerFormat(BMF_24BPP);
|
depth = BitsPerFormat(BMF_24BPP);
|
||||||
sizex = rect->right - rect->left;
|
sizex = rect->right - rect->left;
|
||||||
sizey = rect->bottom - rect->top;
|
sizey = rect->bottom - rect->top;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue