mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
21 lines
563 B
C
21 lines
563 B
C
/*
|
|
* 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 <thomas.faber@reactos.org>
|
|
*/
|
|
|
|
#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();
|
|
}
|