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.

46 lines
873 B

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (C) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // textmap.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // This file declares functions for converting Time of Day restriction
  12. // hour maps to and from a textual representation.
  13. //
  14. // MODIFICATION HISTORY
  15. //
  16. // 02/05/1998 Original version.
  17. //
  18. ///////////////////////////////////////////////////////////////////////////////
  19. #ifndef _TEXTMAP_H_
  20. #define _TEXTMAP_H_
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #define IAS_HOUR_MAP_LENGTH (21)
  25. DWORD
  26. WINAPI
  27. IASHourMapFromText(
  28. IN PCWSTR szText,
  29. OUT PBYTE pHourMap
  30. );
  31. DWORD
  32. WINAPI
  33. LocalizeTimeOfDayConditionText(
  34. IN PCWSTR szText,
  35. OUT ::CString& newString
  36. );
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif // _TEXTMAP_H_