Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

98 lines
1.2 KiB

/*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
ipinip\driver.h
Abstract:
Headers for driver.c
Revision History:
--*/
KTIMER g_ktTimer;
KDPC g_kdTimerDpc;
NTSTATUS
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath
);
NTSTATUS
IpIpDispatch(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp
);
VOID
IpIpUnload(
PDRIVER_OBJECT DriverObject
);
BOOLEAN
SetupExternalName(
PUNICODE_STRING pusNtName,
PWCHAR pwcDosName,
BOOLEAN bCreate
);
NTSTATUS
StartDriver(
VOID
);
VOID
StopDriver(
VOID
);
BOOLEAN
InitializeDriver(
VOID
);
NTSTATUS
RegisterWithIp(
VOID
);
VOID
DeregisterWithIp(
VOID
);
NTSTATUS
OpenRegKey(
PHANDLE HandlePtr,
PWCHAR KeyName
);
NTSTATUS
GetRegDWORDValue(
HANDLE KeyHandle,
PWCHAR ValueName,
PULONG ValueData
);
BOOLEAN
EnterDriverCode(
VOID
);
VOID
ExitDriverCode(
VOID
);
VOID
ClearPendingIrps(
VOID
);