16 bool MyShowCursor(
bool show, 
bool toggle = 
false);
 
   18 typedef void (*Function)(int);
 
   21 char *
convert_from_fs(
const TCHAR *name, 
char *utf8_buf, 
size_t buflen);
 
   22 TCHAR *
convert_to_fs(
const char *name, TCHAR *utf16_buf, 
size_t buflen, 
bool console_cp = 
false);
 
   29 # define MB_TO_WIDE(str) OTTD2FS(str) 
   30 # define WIDE_TO_MB(str) FS2OTTD(str) 
   32 # define MB_TO_WIDE(str) (str) 
   33 # define WIDE_TO_MB(str) (str) 
   38 #if defined(__MINGW32__) && !defined(__MINGW64__) 
   39 #define SHGFP_TYPE_CURRENT 0 
   43 void SetWin32ThreadName(DWORD dwThreadID, 
const char* threadName);
 
   45 static inline void SetWin32ThreadName(DWORD dwThreadID, 
const char* threadName) {}