1 /* 2 * PROJECT: ReactOS kernel-mode tests 3 * LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory 4 * PURPOSE: Test driver for HidParser functionality 5 * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> 6 */ 7 8 #include <kmt_test.h> 9 10 #define NDEBUG 11 #include <debug.h> 12 13 #include "HidP.h" 14 15 KMT_MESSAGE_HANDLER TestHidPDescription; 16 17 NTSTATUS 18 TestEntry( 19 _In_ PDRIVER_OBJECT DriverObject, 20 _In_ PCUNICODE_STRING RegistryPath, 21 _Out_ PCWSTR *DeviceName, 22 _Inout_ INT *Flags) 23 { 24 UNREFERENCED_PARAMETER(RegistryPath); 25 26 PAGED_CODE(); 27 28 *DeviceName = L"HidP"; 29 *Flags = TESTENTRY_NO_EXCLUSIVE_DEVICE; 30 31 KmtRegisterMessageHandler(IOCTL_TEST_DESCRIPTION, NULL, TestHidPDescription); 32 33 return STATUS_SUCCESS; 34 } 35 36 VOID 37 TestUnload( 38 _In_ PDRIVER_OBJECT DriverObject) 39 { 40 PAGED_CODE(); 41 } 42