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.

78 lines
1.5 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. viddi.h
  5. Abstract:
  6. This header contains private information used for supplying Verifier Device
  7. Driver Interfaces. This header should be included only by vfddi.c.
  8. Author:
  9. Adrian J. Oney (adriao) 1-May-2001
  10. Environment:
  11. Kernel mode
  12. Revision History:
  13. --*/
  14. typedef struct {
  15. ULONG SiloNumber;
  16. } VFWMI_DEVICE_EXTENSION, *PVFWMI_DEVICE_EXTENSION;
  17. VOID
  18. ViDdiThrowException(
  19. IN ULONG BugCheckMajorCode,
  20. IN ULONG BugCheckMinorCode,
  21. IN VF_FAILURE_CLASS FailureClass,
  22. IN OUT PULONG AssertionControl,
  23. IN PSTR DebuggerMessageText,
  24. IN PSTR ParameterFormatString,
  25. IN va_list * MessageParameters
  26. );
  27. NTSTATUS
  28. ViDdiDriverEntry(
  29. IN PDRIVER_OBJECT DriverObject,
  30. IN PUNICODE_STRING RegistryPath
  31. );
  32. NTSTATUS
  33. ViDdiDispatchWmi(
  34. IN PDEVICE_OBJECT DeviceObject,
  35. IN PIRP Irp
  36. );
  37. NTSTATUS
  38. ViDdiDispatchWmiRegInfoEx(
  39. IN PDEVICE_OBJECT DeviceObject,
  40. IN PIRP Irp
  41. );
  42. ULONG
  43. ViDdiBuildWmiRegInfoData(
  44. IN ULONG Datapath,
  45. OUT PWMIREGINFOW WmiRegInfo OPTIONAL
  46. );
  47. NTSTATUS
  48. ViDdiDispatchWmiQueryAllData(
  49. IN PDEVICE_OBJECT DeviceObject,
  50. IN PIRP Irp
  51. );
  52. ULONG
  53. ViDdiBuildWmiInstanceData(
  54. IN ULONG Datapath,
  55. OUT PWNODE_ALL_DATA WmiData
  56. );