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.

59 lines
903 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1992 - 1999
  3. Module Name:
  4. nsi.h
  5. Abstract:
  6. This module contains utility functions used by the NSI client wrappers.
  7. Author:
  8. Steven Zeck (stevez) 03/27/92
  9. --*/
  10. #ifndef __NSI_H
  11. #define __NSI_H
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #define RPC_REG_ROOT HKEY_LOCAL_MACHINE
  16. #define REG_NSI "Software\\Microsoft\\Rpc\\NameService"
  17. #if !defined(NSI_ASCII)
  18. #define UNICODE
  19. typedef unsigned short RT_CHAR;
  20. #define CONST_CHAR const char
  21. #else
  22. typedef unsigned char RT_CHAR;
  23. #define CONST_CHAR char
  24. #endif
  25. #if defined(NTENV)
  26. #include <nt.h>
  27. #include <ntrtl.h>
  28. #include <nturtl.h>
  29. #endif
  30. #include <rpc.h>
  31. #include <rpcnsi.h>
  32. #include <nsisvr.h>
  33. #include <nsiclt.h>
  34. #include <nsimgm.h>
  35. #ifdef __cplusplus
  36. } // extern "C"
  37. #endif
  38. #ifdef __cplusplus
  39. #include <nsiutil.hxx>
  40. #endif
  41. #endif