ReactOS 0.4.15-dev-5666-gc548b97
HidP_drv.c
Go to the documentation of this file.
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
15KMT_MESSAGE_HANDLER TestHidPDescription;
16
23{
25
26 PAGED_CODE();
27
28 *DeviceName = L"HidP";
29 *Flags = TESTENTRY_NO_EXCLUSIVE_DEVICE;
30
32
33 return STATUS_SUCCESS;
34}
35
36VOID
39{
40 PAGED_CODE();
41}
#define PAGED_CODE()
#define IOCTL_TEST_DESCRIPTION
Definition: HidP.h:11
KMT_MESSAGE_HANDLER TestHidPDescription
Definition: HidP_drv.c:15
VOID TestUnload(_In_ PDRIVER_OBJECT DriverObject)
Definition: HidP_drv.c:37
NTSTATUS TestEntry(_In_ PDRIVER_OBJECT DriverObject, _In_ PCUNICODE_STRING RegistryPath, _Out_ PCWSTR *DeviceName, _Inout_ INT *Flags)
Definition: HidP_drv.c:18
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
NTSTATUS KmtRegisterMessageHandler(IN ULONG ControlCode OPTIONAL, IN PDEVICE_OBJECT DeviceObject OPTIONAL, IN PKMT_MESSAGE_HANDLER MessageHandler)
#define _Inout_
Definition: ms_sal.h:378
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define L(x)
Definition: ntvdm.h:50
#define STATUS_SUCCESS
Definition: shellext.h:65
const uint16_t * PCWSTR
Definition: typedefs.h:57
int32_t INT
Definition: typedefs.h:58
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Definition: wdfdevice.h:3275
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
Definition: wdfdriver.h:215
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170