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.

33 lines
943 B

  1. /*+-------------------------------------------------------------------------+
  2. | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. |
  3. +-------------------------------------------------------------------------+*/
  4. #ifndef _UTILS_
  5. #define _UTILS_
  6. #ifdef __cplusplus
  7. extern "C"{
  8. #endif
  9. #define MAX_DRIVE 30
  10. LPTSTR Lids(WORD idsStr);
  11. void StringTableDestroy();
  12. void CursorHourGlass();
  13. void CursorNormal();
  14. BOOL BitTest(int Bit, BYTE *Bits);
  15. BOOL CenterWindow( HWND hwndChild, HWND hwndParent );
  16. TCHAR *lstrchr(LPTSTR String, TCHAR c);
  17. BOOL IsPath(LPTSTR Path);
  18. LPTSTR lToStr(ULONG Number);
  19. LPTSTR TimeToStr(ULONG TotTime);
  20. void EscapeFormattingChars(LPTSTR String, ULONG BufferLength) ;
  21. void lsplitpath(const TCHAR *path, TCHAR *drive, TCHAR *dir, TCHAR *fname, TCHAR *ext);
  22. void lmakepath(TCHAR *path, const TCHAR *drive, const TCHAR *dir, const TCHAR *fname, const TCHAR *ext);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif