ReactOS 0.4.16-dev-336-gb667d82
HidP_drv.c File Reference
#include <kmt_test.h>
#include <debug.h>
#include "HidP.h"
Include dependency graph for HidP_drv.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS TestEntry (_In_ PDRIVER_OBJECT DriverObject, _In_ PCUNICODE_STRING RegistryPath, _Out_ PCWSTR *DeviceName, _Inout_ INT *Flags)
 
VOID TestUnload (_In_ PDRIVER_OBJECT DriverObject)
 

Variables

KMT_MESSAGE_HANDLER TestHidPDescription
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 10 of file HidP_drv.c.

Function Documentation

◆ TestEntry()

NTSTATUS TestEntry ( _In_ PDRIVER_OBJECT  DriverObject,
_In_ PCUNICODE_STRING  RegistryPath,
_Out_ PCWSTR DeviceName,
_Inout_ INT Flags 
)

Definition at line 18 of file HidP_drv.c.

23{
25
26 PAGED_CODE();
27
28 *DeviceName = L"HidP";
29 *Flags = TESTENTRY_NO_EXCLUSIVE_DEVICE;
30
32
33 return STATUS_SUCCESS;
34}
#define PAGED_CODE()
#define IOCTL_TEST_DESCRIPTION
Definition: HidP.h:11
KMT_MESSAGE_HANDLER TestHidPDescription
Definition: HidP_drv.c:15
#define NULL
Definition: types.h:112
NTSTATUS KmtRegisterMessageHandler(IN ULONG ControlCode OPTIONAL, IN PDEVICE_OBJECT DeviceObject OPTIONAL, IN PKMT_MESSAGE_HANDLER MessageHandler)
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325
#define L(x)
Definition: ntvdm.h:50
#define STATUS_SUCCESS
Definition: shellext.h:65
_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_ ULONG Flags
Definition: wsk.h:170

◆ TestUnload()

VOID TestUnload ( _In_ PDRIVER_OBJECT  DriverObject)

Definition at line 37 of file HidP_drv.c.

39{
40 PAGED_CODE();
41}

Variable Documentation

◆ TestHidPDescription

KMT_MESSAGE_HANDLER TestHidPDescription

Definition at line 15 of file HidP_drv.c.

Referenced by TestEntry().