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.

76 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. common.h
  5. Abstract:
  6. This header file is to be included by all sources in this directory.
  7. Author:
  8. Eric Chin (ericc) August 2, 1991
  9. Revision History:
  10. Sam Patton (sampa) August 13, 1991
  11. added includes to get setlasterror
  12. --*/
  13. #ifndef _COMMON_
  14. #define _COMMON_
  15. //
  16. // NT Headers
  17. //
  18. #include <nt.h>
  19. #include <ntrtl.h>
  20. #include <nturtl.h>
  21. //
  22. // C Run Time Library Headers
  23. //
  24. #include <assert.h>
  25. #include <memory.h>
  26. #include <stdio.h>
  27. #include <stdlib.h>
  28. #include <string.h>
  29. //
  30. // Windows headers
  31. //
  32. #include <windef.h>
  33. #include <windows.h>
  34. //
  35. // Regular STREAMS headers
  36. //
  37. //
  38. #include <crt\errno.h>
  39. #include <poll.h>
  40. #include <stropts.h>
  41. //
  42. // Additional NT STREAMS Headers
  43. //
  44. // ntddstrm.h defines the interface to the Stream Head driver; ntstapi.h
  45. // defines the STREAMS APIs available on NT.
  46. //
  47. #include <ntddstrm.h>
  48. #include <ntstapi.h>
  49. //
  50. // Private Function Prototypes
  51. //
  52. int
  53. MapNtToPosixStatus(
  54. IN NTSTATUS status
  55. );
  56. #endif /* _COMMON_ */