FreeBASIC  0.91.0
fbportio.c File Reference
#include <ddk/ntddk.h>
#include "../fbportio.h"
Include dependency graph for fbportio.c:

Go to the source code of this file.

Macros

#define DEVICE_NAME   L"\\Device\\fbportio"
 
#define DEVICE_DOS_NAME   L"\\DosDevices\\fbportio"
 
#define IOPM_SIZE   0x2000
 

Typedefs

typedef UCHAR IOPM [IOPM_SIZE]
 

Functions

 __declspec (dllimport)
 
static NTSTATUS STDCALL device_control (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
static VOID STDCALL driver_unload (IN PDRIVER_OBJECT DriverObject)
 
NTSTATUS STDCALL DriverEntry (IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
 

Variables

static IOPMIOPM_map = NULL
 

Macro Definition Documentation

#define DEVICE_DOS_NAME   L"\\DosDevices\\fbportio"

Definition at line 25 of file fbportio.c.

#define DEVICE_NAME   L"\\Device\\fbportio"

Definition at line 24 of file fbportio.c.

#define IOPM_SIZE   0x2000

Definition at line 26 of file fbportio.c.

Typedef Documentation

typedef UCHAR IOPM[IOPM_SIZE]

Definition at line 28 of file fbportio.c.

Function Documentation

__declspec ( dllimport  )

Definition at line 32 of file fbportio.c.

static NTSTATUS STDCALL device_control ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)
static

Definition at line 46 of file fbportio.c.

Here is the caller graph for this function:

static VOID STDCALL driver_unload ( IN PDRIVER_OBJECT  DriverObject)
static

Definition at line 101 of file fbportio.c.

Here is the caller graph for this function:

NTSTATUS STDCALL DriverEntry ( IN PDRIVER_OBJECT  DriverObject,
IN PUNICODE_STRING  RegistryPath 
)

Definition at line 116 of file fbportio.c.

Here is the call graph for this function:

Variable Documentation

IOPM* IOPM_map = NULL
static

Definition at line 30 of file fbportio.c.