Source code of Windows XP (NT5)
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. ntddnpfs.h
  5. Abstract:
  6. This is the include file that defines all constants and types for
  7. accessing the Named pipe file system device.
  8. Author:
  9. Steve Wood (stevewo) 27-May-1990
  10. Revision History:
  11. --*/
  12. #ifndef _NTDDNPFS_
  13. #define _NTDDNPFS_
  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_NPFS_DEVICE_NAME "\\Device\\UNKNOWN"
  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_NPFS_BASE FILE_DEVICE_NAMED_PIPE
  35. //
  36. // NtDeviceIoControlFile InputBuffer/OutputBuffer record structures for
  37. // this device.
  38. //
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif // _NTDDNPFS_