diff --git a/rostests/apitests/dciman32api/dciman32api.c b/rostests/apitests/dciman32api/dciman32api.c new file mode 100644 index 00000000000..f01aa41a64d --- /dev/null +++ b/rostests/apitests/dciman32api/dciman32api.c @@ -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"); +} diff --git a/rostests/apitests/dciman32api/dciman32api.h b/rostests/apitests/dciman32api/dciman32api.h new file mode 100644 index 00000000000..658e6bdd6b1 --- /dev/null +++ b/rostests/apitests/dciman32api/dciman32api.h @@ -0,0 +1,22 @@ +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0501 +#endif + +#define WIN32_NO_STATUS +#include +#include +#include +#include +#include +#include +#include + +/* Public Win32K Headers */ +#include +#include +#include + +#include "../apitest.h" + + + diff --git a/rostests/apitests/dciman32api/dciman32api.rbuild b/rostests/apitests/dciman32api/dciman32api.rbuild new file mode 100644 index 00000000000..f333e806aa0 --- /dev/null +++ b/rostests/apitests/dciman32api/dciman32api.rbuild @@ -0,0 +1,12 @@ + + . + + 0x0501 + apitest + kernel32 + user32 + gdi32 + shell32 + dciman32api.c + testlist.c + diff --git a/rostests/apitests/dciman32api/testlist.c b/rostests/apitests/dciman32api/testlist.c new file mode 100644 index 00000000000..2726bb7352a --- /dev/null +++ b/rostests/apitests/dciman32api/testlist.c @@ -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 */ diff --git a/rostests/apitests/dciman32api/tests/DCICreatePrimary.c b/rostests/apitests/dciman32api/tests/DCICreatePrimary.c new file mode 100644 index 00000000000..2590158c5e9 --- /dev/null +++ b/rostests/apitests/dciman32api/tests/DCICreatePrimary.c @@ -0,0 +1,8 @@ + +INT +Test_DCICreatePrimary(PTESTINFO pti) +{ + + return APISTATUS_NORMAL; +} + diff --git a/rostests/apitests/directory.rbuild b/rostests/apitests/directory.rbuild index 85e422f710b..64c7c035739 100644 --- a/rostests/apitests/directory.rbuild +++ b/rostests/apitests/directory.rbuild @@ -8,6 +8,10 @@ apitest.c + + + +