mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
add dummy test for dciman32 for now, real test will come later
svn path=/trunk/; revision=33896
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include "dciman32api.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
|
||||
BOOL
|
||||
IsFunctionPresent(LPWSTR lpszFunction)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int APIENTRY
|
||||
WinMain(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
g_hInstance = hInstance;
|
||||
return TestMain(L"dciman32api", L"dciman32.dll");
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
#include <windows.h>
|
||||
#include <ndk/ntndk.h>
|
||||
#include <wingdi.h>
|
||||
#include <winddi.h>
|
||||
#include <d3dnthal.h>
|
||||
#include <prntfont.h>
|
||||
|
||||
/* Public Win32K Headers */
|
||||
#include <win32k/ntgdityp.h>
|
||||
#include <ntgdi.h>
|
||||
#include <win32k/ntgdihdl.h>
|
||||
|
||||
#include "../apitest.h"
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<module name="dciman32api" type="win32cui">
|
||||
<include base="dciman32api">.</include>
|
||||
<define name="__USE_W32API" />
|
||||
<define name="_WIN32_WINNT">0x0501</define>
|
||||
<library>apitest</library>
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>gdi32</library>
|
||||
<library>shell32</library>
|
||||
<file>dciman32api.c</file>
|
||||
<file>testlist.c</file>
|
||||
</module>
|
||||
@@ -0,0 +1,32 @@
|
||||
#ifndef _DCIMAN32TESTLIST_H
|
||||
#define _DCIMAN32TESTLIST_H
|
||||
|
||||
#include "dciman32api.h"
|
||||
|
||||
/* include the tests */
|
||||
#include "tests/DCICreatePrimary.c"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* The List of tests */
|
||||
TESTENTRY TestList[] =
|
||||
{
|
||||
{ L"DCICreatePrimary", Test_DCICreatePrimary }
|
||||
};
|
||||
|
||||
/* The function that gives us the number of tests */
|
||||
INT NumTests(void)
|
||||
{
|
||||
return sizeof(TestList) / sizeof(TESTENTRY);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* EOF */
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
INT
|
||||
Test_DCICreatePrimary(PTESTINFO pti)
|
||||
{
|
||||
|
||||
return APISTATUS_NORMAL;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
<file>apitest.c</file>
|
||||
</module>
|
||||
|
||||
<directory name="dciman32api">
|
||||
<xi:include href="dciman32api/dciman32api.rbuild" />
|
||||
</directory>
|
||||
|
||||
<directory name="gdi32api">
|
||||
<xi:include href="gdi32api/gdi32api.rbuild" />
|
||||
</directory>
|
||||
|
||||
Reference in New Issue
Block a user