Process Hacker
devctrl.c File Reference
#include <kph.h>

Go to the source code of this file.

Macros

#define VERIFY_INPUT_LENGTH
 

Functions

NTSTATUS KphDispatchDeviceControl (__in PDEVICE_OBJECT DeviceObject, __in PIRP Irp)
 

Macro Definition Documentation

#define VERIFY_INPUT_LENGTH
Value:
do { \
/* Ensure at compile time that our local buffer fits this particular call. */ \
C_ASSERT(sizeof(*input) <= sizeof(capturedInput)); \
\
if (inputLength != sizeof(*input)) \
{ \
status = STATUS_INFO_LENGTH_MISMATCH; \
goto ControlEnd; \
} \
} while (0)

Function Documentation

NTSTATUS KphDispatchDeviceControl ( __in PDEVICE_OBJECT  DeviceObject,
__in PIRP  Irp 
)

Definition at line 24 of file devctrl.c.