ReactOS  0.4.14-dev-98-gb0d4763
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 UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
WCHAR DeviceName[]
Definition: adapter.cpp:21
#define PAGED_CODE()
Definition: video.h:57
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
smooth NULL
Definition: ftsmooth.c:416
NTSTATUS KmtRegisterMessageHandler(IN ULONG ControlCode OPTIONAL, IN PDEVICE_OBJECT DeviceObject OPTIONAL, IN PKMT_MESSAGE_HANDLER MessageHandler)
KMT_MESSAGE_HANDLER TestHidPDescription
Definition: HidP_drv.c:15
static const WCHAR L[]
Definition: oid.c:1250
#define IOCTL_TEST_DESCRIPTION
Definition: HidP.h:11
_In_ PUNICODE_STRING RegistryPath
Definition: wmip.h:27
return STATUS_SUCCESS
Definition: btrfs.c:2966

◆ TestUnload()

VOID TestUnload ( _In_ PDRIVER_OBJECT  DriverObject)

Definition at line 37 of file HidP_drv.c.

39 {
40  PAGED_CODE();
41 }
#define PAGED_CODE()
Definition: video.h:57

Variable Documentation

◆ TestHidPDescription

KMT_MESSAGE_HANDLER TestHidPDescription

Definition at line 15 of file HidP_drv.c.

Referenced by TestEntry().