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.

52 lines
859 B

  1. // Copyright (c) 1997-2002 Microsoft Corporation
  2. //
  3. // Module:
  4. //
  5. // Network Security Utilities
  6. //
  7. // Abstract:
  8. //
  9. // Master include file
  10. //
  11. // Author:
  12. //
  13. // pmay 2/5/02
  14. //
  15. // Environment:
  16. //
  17. // User / Kernel
  18. //
  19. // Revision History:
  20. //
  21. #pragma once
  22. #ifndef NSU_H
  23. #define NSU_H
  24. #define NSU_CLEANUP Cleanup
  25. #ifndef NSU_BAIL_ON_ERROR
  26. #define NSU_BAIL_ON_ERROR(err) if((err) != ERROR_SUCCESS) {goto NSU_CLEANUP;}
  27. #endif
  28. #ifndef NSU_BAIL_ON_NULL
  29. #define NSU_BAIL_ON_NULL(ptr, err) if ((ptr) == NULL) {(err) = ERROR_NOT_ENOUGH_MEMORY; goto NSU_CLEANUP;}
  30. #endif
  31. #ifndef NSU_BAIL_OUT
  32. #define NSU_BAIL_OUT {goto NSU_CLEANUP;}
  33. #endif
  34. #include <nt.h>
  35. #include <ntrtl.h>
  36. #include <nturtl.h>
  37. #include <windows.h>
  38. #include "NsuMem.h"
  39. #include "NsuString.h"
  40. #include "NsuList.h"
  41. #endif // NSU_H