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.

64 lines
1.2 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1990-1999 Microsoft Corporation
  3. Module Name:
  4. ntddnull.h
  5. Abstract:
  6. This is the include file that defines all constants and types for
  7. accessing the Null device.
  8. Author:
  9. Steve Wood (stevewo) 27-May-1990
  10. Revision History:
  11. --*/
  12. #ifndef _NTDDNULL_
  13. #define _NTDDNULL_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. //
  21. // Device Name - this string is the name of the device. It is the name
  22. // that should be passed to NtOpenFile when accessing the device.
  23. //
  24. // Note: For devices that support multiple units, it should be suffixed
  25. // with the Ascii representation of the unit number.
  26. //
  27. #define DD_NULL_DEVICE_NAME "\\Device\\Null"
  28. //
  29. // NtDeviceIoControlFile IoControlCode values for this device.
  30. //
  31. // Warning: Remember that the low two bits of the code specify how the
  32. // buffers are passed to the driver!
  33. //
  34. #define IOCTL_NULL_BASE FILE_DEVICE_NULL
  35. //
  36. // NtDeviceIoControlFile InputBuffer/OutputBuffer record structures for
  37. // this device.
  38. //
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif // _NTDDNULL_