00001
00010 #ifndef __EPOCMISC_H__
00011 #define __EPOCMISC_H__
00012
00013
00014
00015
00016 #ifndef __cplusplus
00017 #ifdef __WINS__
00018 #pragma warning(disable : 4127)
00019 #pragma warning(disable : 4100)
00020 #pragma warning(disable : 4057)
00021 #pragma warning(disable : 4244)
00022 #endif
00023 #endif
00024
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00030 typedef unsigned int DWORD;
00031 typedef wchar_t WCHAR;
00032 #ifndef min
00033 #define min(x,y) ((x) <= (y) ? (x) : (y))
00034 #define max(x,y) ((x) >= (y) ? (x) : (y))
00035 #endif
00036 #define CP_ACP 0x12345678
00037
00038 DWORD GetTickCount();
00039 unsigned GetCaretBlinkTime();
00040
00041
00042
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046
00047 #endif