mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 04:03:56 +00:00
[ROSTESTS]
- Declare functions with 0 arguments using VOID keyword. In C it matters - Add imagehlp winetest to CMake build svn path=/trunk/; revision=52006
This commit is contained in:
parent
6c70b6dcd9
commit
6486187cdb
6 changed files with 21 additions and 5 deletions
|
@ -40,7 +40,7 @@ extern PGDI_TABLE_ENTRY GdiHandleTable;
|
|||
BOOL IsHandleValid(HGDIOBJ hobj);
|
||||
PVOID GetHandleUserData(HGDIOBJ hobj);
|
||||
DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
|
||||
BOOL InitOsVersion();
|
||||
BOOL InitOsVersion(VOID);
|
||||
extern UINT g_OsIdx;
|
||||
|
||||
typedef UINT ASPI[5];
|
||||
|
|
|
@ -29,7 +29,7 @@ typedef struct
|
|||
|
||||
extern tls_data glob_data;
|
||||
|
||||
VOID StartTest();
|
||||
VOID StartTest(VOID);
|
||||
VOID FinishTest(HANDLE KeyHandle, LPWSTR TestName);
|
||||
void kmtest_set_location(const char* file, int line);
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
|
||||
HANDLE test_NtGdiDdCreateDirectDrawObject();
|
||||
HANDLE test_NtGdiDdCreateDirectDrawObject(void);
|
||||
void test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal);
|
||||
void test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal);
|
||||
void test_NtGdiDdQueryDirectDrawObject(HANDLE hDirectDrawLocal);
|
||||
void test_NtGdiDdGetScanLine(HANDLE hDirectDrawLocal);
|
||||
void test_NtGdiDdWaitForVerticalBlank(HANDLE hDirectDrawLocal);
|
||||
void test_NtGdiDdCanCreateSurface(HANDLE hDirectDrawLocal);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <d3dhal.h>
|
||||
|
||||
|
||||
int StartupHAL ();
|
||||
int StartupHAL (VOID);
|
||||
extern HDC hdc;
|
||||
extern DDRAWI_DIRECTDRAW_GBL mDDrawGlobal;
|
||||
extern DDRAWI_DIRECTDRAW_LCL mDDrawLocal;
|
||||
|
|
|
@ -22,6 +22,7 @@ add_subdirectory(gdi32)
|
|||
add_subdirectory(gdiplus)
|
||||
add_subdirectory(hlink)
|
||||
add_subdirectory(icmp)
|
||||
add_subdirectory(imagehlp)
|
||||
add_subdirectory(imm32)
|
||||
add_subdirectory(inetcomm)
|
||||
add_subdirectory(inetmib1)
|
||||
|
|
15
rostests/winetests/imagehlp/CMakeLists.txt
Normal file
15
rostests/winetests/imagehlp/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
add_definitions(
|
||||
-D__ROS_LONG64__
|
||||
-D_DLL -D__USE_CRTIMP)
|
||||
|
||||
list(APPEND SOURCE
|
||||
image.c
|
||||
integrity.c
|
||||
testlist.c)
|
||||
|
||||
add_executable(imagehlp_winetest ${SOURCE})
|
||||
target_link_libraries(imagehlp_winetest wine uuid)
|
||||
set_module_type(imagehlp_winetest win32cui)
|
||||
add_importlibs(imagehlp_winetest advapi32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET imagehlp_winetest DESTINATION reactos/bin FOR all)
|
Loading…
Reference in a new issue