2011-08-03 12:48:22 +00:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
2011-08-17 12:04:15 +00:00
|
|
|
START_TEST(IoDeviceObject)
|
2011-08-03 12:48:22 +00:00
|
|
|
{
|
2011-08-18 07:53:37 +00:00
|
|
|
/* make sure IoHelper has an existing service key, but is not started */
|
|
|
|
KmtLoadDriver(L"IoHelper", FALSE);
|
|
|
|
KmtUnloadDriver();
|
|
|
|
|
|
|
|
KmtLoadDriver(L"IoDeviceObject", TRUE);
|
2011-08-03 12:48:22 +00:00
|
|
|
KmtOpenDriver();
|
|
|
|
KmtCloseDriver();
|
|
|
|
KmtUnloadDriver();
|
|
|
|
}
|