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.

34 lines
654 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: lsa.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Define utility routines that access the LSA
  7. *
  8. * History:
  9. * 12-09-91 Davidc Created.
  10. \***************************************************************************/
  11. //
  12. // Exported function prototypes
  13. //
  14. BOOL
  15. IsMachineDomainMember(
  16. VOID
  17. );
  18. BOOL
  19. GetPrimaryDomainEx(
  20. PUNICODE_STRING PrimaryDomainName,
  21. PUNICODE_STRING PrimaryDomainDnsName,
  22. PSID * PrimaryDomainSid OPTIONAL,
  23. PBOOL SidPresent OPTIONAL
  24. );
  25. ULONG
  26. GetMaxPasswordAge(
  27. LPWSTR Domain,
  28. PULONG MaxAge
  29. );