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

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. ipinip\driver.h
  5. Abstract:
  6. Headers for driver.c
  7. Revision History:
  8. --*/
  9. KTIMER g_ktTimer;
  10. KDPC g_kdTimerDpc;
  11. NTSTATUS
  12. DriverEntry(
  13. IN PDRIVER_OBJECT DriverObject,
  14. IN PUNICODE_STRING RegistryPath
  15. );
  16. NTSTATUS
  17. IpIpDispatch(
  18. IN PDEVICE_OBJECT DeviceObject,
  19. IN PIRP Irp
  20. );
  21. VOID
  22. IpIpUnload(
  23. PDRIVER_OBJECT DriverObject
  24. );
  25. BOOLEAN
  26. SetupExternalName(
  27. PUNICODE_STRING pusNtName,
  28. PWCHAR pwcDosName,
  29. BOOLEAN bCreate
  30. );
  31. NTSTATUS
  32. StartDriver(
  33. VOID
  34. );
  35. VOID
  36. StopDriver(
  37. VOID
  38. );
  39. BOOLEAN
  40. InitializeDriver(
  41. VOID
  42. );
  43. NTSTATUS
  44. RegisterWithIp(
  45. VOID
  46. );
  47. VOID
  48. DeregisterWithIp(
  49. VOID
  50. );
  51. NTSTATUS
  52. OpenRegKey(
  53. PHANDLE HandlePtr,
  54. PWCHAR KeyName
  55. );
  56. NTSTATUS
  57. GetRegDWORDValue(
  58. HANDLE KeyHandle,
  59. PWCHAR ValueName,
  60. PULONG ValueData
  61. );
  62. BOOLEAN
  63. EnterDriverCode(
  64. VOID
  65. );
  66. VOID
  67. ExitDriverCode(
  68. VOID
  69. );
  70. VOID
  71. ClearPendingIrps(
  72. VOID
  73. );