mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-24 09:23:37 -05:00
28 lines
455 B
C
28 lines
455 B
C
/**
|
|
* @file sys/devctrl.c
|
|
*
|
|
* @copyright 2015 Bill Zissimopoulos
|
|
*/
|
|
|
|
#include <sys/driver.h>
|
|
|
|
DRIVER_DISPATCH FspDeviceControl;
|
|
|
|
#ifdef ALLOC_PRAGMA
|
|
#pragma alloc_text(PAGE, FspDeviceControl)
|
|
#endif
|
|
|
|
NTSTATUS
|
|
FspDeviceControl(
|
|
_In_ PDEVICE_OBJECT DeviceObject,
|
|
_In_ PIRP Irp)
|
|
{
|
|
FSP_ENTER_MJ(PAGED_CODE());
|
|
|
|
ASSERT(IRP_MJ_DEVICE_CONTROL == IrpSp->MajorFunction);
|
|
|
|
Result = STATUS_INVALID_DEVICE_REQUEST;
|
|
|
|
FSP_LEAVE_MJ("", 0);
|
|
}
|