Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.

This commit is contained in:
Colin Finck 2017-10-03 07:45:34 +00:00
parent b94e2d8ca0
commit c2c66aff7d
24198 changed files with 0 additions and 37285 deletions

View file

@ -0,0 +1,33 @@
/*
* PROJECT: ReactOS kernel-mode tests
* LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory
* PURPOSE: Kernel-Mode Test Suite Driver Object test user-mode part
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/
#include <kmt_test.h>
#include "HidP.h"
DWORD
KmtStartService(
IN PCWSTR ServiceName OPTIONAL,
IN OUT SC_HANDLE *ServiceHandle);
START_TEST(HidPDescription)
{
SC_HANDLE ServiceHandle;
DWORD Error;
ServiceHandle = NULL;
KmtStartService(L"hidusb", &ServiceHandle);
CloseServiceHandle(ServiceHandle);
KmtLoadDriver(L"HidP", FALSE);
KmtOpenDriver();
Error = KmtSendToDriver(IOCTL_TEST_DESCRIPTION);
ok(Error == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %lx\n", Error);
KmtCloseDriver();
KmtUnloadDriver();
}