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.

82 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1992-1993 Microsoft Corporation
  3. Module Name:
  4. nwreg.h
  5. Abstract:
  6. Header which specifies the misc registry parameters and helper
  7. routines used by the workstation service.
  8. Author:
  9. Rita Wong (ritaw) 22-Mar-1993
  10. Revision History:
  11. ChuckC 11-Dec-93 Split off the registry names to nwrnames.h
  12. --*/
  13. #ifndef _NWREG_INCLUDED_
  14. #define _NWREG_INCLUDED_
  15. #include <nwrnames.h>
  16. //
  17. // Default print option
  18. //
  19. #define NW_PRINT_OPTION_DEFAULT 0x98
  20. #define NW_DOMAIN_USER_SEPARATOR L'*'
  21. #define NW_DOMAIN_USER_SEPARATOR_STR L"*"
  22. #define NW_MAX_LOGON_ID_LEN 17
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. DWORD
  27. NwReadRegValue(
  28. IN HKEY Key,
  29. IN LPWSTR ValueName,
  30. OUT LPWSTR *Value
  31. );
  32. VOID
  33. NwLuidToWStr(
  34. IN PLUID LogonId,
  35. OUT LPWSTR LogonIdStr
  36. );
  37. VOID
  38. NwWStrToLuid(
  39. IN LPWSTR LogonIdStr,
  40. OUT PLUID LogonId
  41. );
  42. DWORD // Terminal Server
  43. NwDeleteInteractiveLogon(
  44. IN PLUID Id OPTIONAL
  45. );
  46. VOID
  47. NwDeleteCurrentUser(
  48. VOID
  49. );
  50. DWORD
  51. NwDeleteServiceLogon(
  52. IN PLUID Id OPTIONAL
  53. );
  54. #ifdef __cplusplus
  55. } // extern "C"
  56. #endif
  57. #endif // _NWREG_INCLUDED_