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.

75 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1987-1991 Microsoft Corporation
  3. Module Name:
  4. netlogp.h
  5. Abstract:
  6. Private interfaces to the Netlogon service.
  7. Author:
  8. Cliff Van Dyke (cliffv) 10-Oct-1996
  9. Environment:
  10. User mode only.
  11. Contains NT-specific code.
  12. Requires ANSI C extensions: slash-slash comments, long external names.
  13. Revision History:
  14. --*/
  15. #ifndef _NETLOGP_H_
  16. #define _NETLOGP_H_
  17. NTSTATUS
  18. NetLogonSetServiceBits(
  19. IN LPWSTR ServerName,
  20. IN DWORD ServiceBitsOfInterest,
  21. IN DWORD ServiceBits
  22. );
  23. NET_API_STATUS NET_API_FUNCTION
  24. I_NetlogonGetTrustRid(
  25. IN LPWSTR ServerName OPTIONAL,
  26. IN LPWSTR DomainName OPTIONAL,
  27. OUT PULONG Rid
  28. );
  29. #define NL_DIGEST_SIZE 16
  30. NET_API_STATUS NET_API_FUNCTION
  31. I_NetlogonComputeServerDigest(
  32. IN LPWSTR ServerName OPTIONAL,
  33. IN ULONG Rid,
  34. IN LPBYTE Message,
  35. IN ULONG MessageSize,
  36. OUT CHAR NewMessageDigest[NL_DIGEST_SIZE],
  37. OUT CHAR OldMessageDigest[NL_DIGEST_SIZE]
  38. );
  39. NET_API_STATUS NET_API_FUNCTION
  40. I_NetlogonComputeClientDigest(
  41. IN LPWSTR ServerName OPTIONAL,
  42. IN LPWSTR DomainName OPTIONAL,
  43. IN LPBYTE Message,
  44. IN ULONG MessageSize,
  45. OUT CHAR NewMessageDigest[NL_DIGEST_SIZE],
  46. OUT CHAR OldMessageDigest[NL_DIGEST_SIZE]
  47. );
  48. NET_API_STATUS
  49. NetLogonGetTimeServiceParentDomain(
  50. IN LPWSTR ServerName OPTIONAL,
  51. OUT LPWSTR *DomainName,
  52. OUT PBOOL PdcSameSite
  53. );
  54. #endif // _NETLOGP_H_