mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
32 lines
No EOL
585 B
C
32 lines
No EOL
585 B
C
#include "ioctl.h"
|
|
|
|
#include "common.h"
|
|
|
|
NTSTATUS DeviceControl(
|
|
_In_ PDRIVER_OBJECT DriverObject,
|
|
_In_ PIRP Irp
|
|
)
|
|
{
|
|
DEBUG_LOG( "Handle opened to DonnaAC" );
|
|
IoCompleteRequest( Irp, IO_NO_INCREMENT );
|
|
return Irp->IoStatus.Status;
|
|
}
|
|
|
|
NTSTATUS DeviceClose(
|
|
_In_ PDEVICE_OBJECT DeviceObject,
|
|
_In_ PIRP Irp
|
|
)
|
|
{
|
|
DEBUG_LOG( "Handle closed to DonnaAC" );
|
|
IoCompleteRequest( Irp, IO_NO_INCREMENT );
|
|
return Irp->IoStatus.Status;
|
|
}
|
|
|
|
NTSTATUS DeviceCreate(
|
|
_In_ PDEVICE_OBJECT DeviceObject,
|
|
_In_ PIRP Irp
|
|
)
|
|
{
|
|
IoCompleteRequest( Irp, IO_NO_INCREMENT );
|
|
return Irp->IoStatus.Status;
|
|
} |