reactos/rostests/kmtests/ntos_io/IoDeviceObject_user.c

21 lines
553 B
C
Raw Normal View History

/*
* PROJECT: ReactOS kernel-mode tests
* LICENSE: GPLv2+ - See COPYING in the top level directory
* PURPOSE: Kernel-Mode Test Suite Driver Object test user-mode part
* PROGRAMMER: Thomas Faber <thfabba@gmx.de>
*/
#include <kmt_test.h>
START_TEST(IoDeviceObject)
{
/* make sure IoHelper has an existing service key, but is not started */
KmtLoadDriver(L"IoHelper", FALSE);
KmtUnloadDriver();
KmtLoadDriver(L"IoDeviceObject", TRUE);
KmtOpenDriver();
KmtCloseDriver();
KmtUnloadDriver();
}