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.

55 lines
886 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. subauth.hxx
  5. Abstract:
  6. subauth
  7. Author:
  8. Larry Zhu (LZhu) December 1, 2001
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef SUBAUTH_HXX
  14. #define SUBAUTH_HXX
  15. NTSTATUS
  16. SampMatchworkstation(
  17. IN PUNICODE_STRING pLogonWorkStation,
  18. IN PUNICODE_STRING pWorkStations
  19. );
  20. LARGE_INTEGER
  21. NetpSecondsToDeltaTime(
  22. IN ULONG Seconds
  23. );
  24. NTSTATUS
  25. AccountRestrictions(
  26. IN ULONG UserRid,
  27. IN PUNICODE_STRING pLogonWorkStation,
  28. IN PUNICODE_STRING pWorkStations,
  29. IN PLOGON_HOURS pLogonHours,
  30. OUT PLARGE_INTEGER pLogoffTime,
  31. OUT PLARGE_INTEGER pKickoffTime
  32. );
  33. BOOLEAN
  34. EqualComputerName(
  35. IN PUNICODE_STRING pString1,
  36. IN PUNICODE_STRING pString2
  37. );
  38. #endif // #ifndef SUBAUTH_HXX