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