mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 00:02:46 -05:00
driver.c: WIP
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* @file sys/driver.c
|
||||
*
|
||||
* @copyright 2015 Bill Zissimopoulos
|
||||
*/
|
||||
|
||||
#include <sys/driver.h>
|
||||
|
||||
DRIVER_INITIALIZE DriverEntry;
|
||||
|
||||
#ifdef ALLOC_PRAGMA
|
||||
#pragma alloc_text(INIT, DriverEntry)
|
||||
#endif
|
||||
|
||||
NTSTATUS
|
||||
DriverEntry(
|
||||
_In_ PDRIVER_OBJECT DriverObject,
|
||||
_In_ PUNICODE_STRING RegistryPath)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(DriverObject);
|
||||
UNREFERENCED_PARAMETER(RegistryPath);
|
||||
DEBUGLOG("");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
18
src/sys/driver.h
Normal file
18
src/sys/driver.h
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @file sys/driver.h
|
||||
*
|
||||
* @copyright 2015 Bill Zissimopoulos
|
||||
*/
|
||||
|
||||
#ifndef WINFSP_SYS_DRIVER_H_INCLUDED
|
||||
#define WINFSP_SYS_DRIVER_H_INCLUDED
|
||||
|
||||
#include <wdm.h>
|
||||
|
||||
#if DBG
|
||||
#define DEBUGLOG(...) DbgPrint(__FUNCTION__ ": " __VA_ARGS__)
|
||||
#else
|
||||
#define DEBUGLOG(...) ((void)0)
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user