mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-21 03:22:45 -06:00
28 lines
435 B
C
28 lines
435 B
C
/**
|
|
* @file sys/shutdown.c
|
|
*
|
|
* @copyright 2015 Bill Zissimopoulos
|
|
*/
|
|
|
|
#include <sys/driver.h>
|
|
|
|
DRIVER_DISPATCH FspShutdown;
|
|
|
|
#ifdef ALLOC_PRAGMA
|
|
#pragma alloc_text(PAGE, FspShutdown)
|
|
#endif
|
|
|
|
NTSTATUS
|
|
FspShutdown(
|
|
_In_ PDEVICE_OBJECT DeviceObject,
|
|
_In_ PIRP Irp)
|
|
{
|
|
FSP_ENTER_MJ(PAGED_CODE());
|
|
|
|
ASSERT(IRP_MJ_SHUTDOWN == IrpSp->MajorFunction);
|
|
|
|
Result = STATUS_INVALID_DEVICE_REQUEST;
|
|
|
|
FSP_LEAVE_MJ("", 0);
|
|
}
|