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.

51 lines
1.1 KiB

  1. /* Copyright (c) 1995, Microsoft Corporation, all rights reserved
  2. **
  3. ** intl.h
  4. ** Remote Access international helpers
  5. ** Public header
  6. */
  7. #ifndef _INTL_H_
  8. #define _INTL_H_
  9. /*----------------------------------------------------------------------------
  10. ** Constants
  11. **----------------------------------------------------------------------------
  12. */
  13. /* Flags to GetDurationString.
  14. */
  15. #define GDSFLAG_Mseconds 0x00000001
  16. #define GDSFLAG_Seconds 0x00000002
  17. #define GDSFLAG_Minutes 0x00000004
  18. #define GDSFLAG_Hours 0x00000008
  19. #define GDSFLAG_Days 0x00000010
  20. #define GDSFLAG_All 0x0000001F
  21. /*----------------------------------------------------------------------------
  22. ** Prototypes
  23. **----------------------------------------------------------------------------
  24. */
  25. DWORD
  26. GetDurationString(
  27. IN DWORD dwMilliseconds,
  28. IN DWORD dwFormatFlags,
  29. IN OUT PTSTR pszBuffer,
  30. IN OUT DWORD *pdwBufSize );
  31. DWORD
  32. GetNumberString(
  33. IN DWORD dwNumber,
  34. IN OUT PTSTR pszBuffer,
  35. IN OUT PDWORD pdwBufSize );
  36. PTSTR
  37. padultoa(
  38. UINT val,
  39. PTSTR pszBuf,
  40. INT width );
  41. #endif // _INTL_H_