|  |  | 
 |  |  |  | 
 |  |  | #define WINAPI   __stdcall | 
 |  |  |  | 
 |  |  | #define SendMessage SendMessageW | 
 |  |  | #define PostMessage PostMessageW | 
 |  |  | #define GetWindowLong GetWindowLongW  | 
 |  |  | #define SetWindowLong SetWindowLongW | 
 |  |  | #define MessageBox   MessageBoxW | 
 |  |  |  | 
 |  |  | extern "C" | 
 |  |  | { | 
 |  |  |    void WINAPI SysFreeString(BSTR str);//OleAut32.dll | 
 |  |  | 
 |  |  |     | 
 |  |  |    int WINAPI GetTempPathW(int NAME_LEN,string & OutPath) ;//native from "kernel32.dll" alias "GetTempPathW"; | 
 |  |  |    int WINAPI GetModuleHandleW(string lpModuleName) ;//native from "kernel32.dll" alias "GetModuleHandleW"; | 
 |  |  |    int WINAPI GetModuleFileName(int hModule ,string & lpFileName ,int nSize ) ;//native from "kernel32.dll" alias "GetModuleFileName"; | 
 |  |  |    int WINAPI GetModuleFileNameW(int hModule ,string lpFileName, int nSize);//native from "kernel32.dll" alias "GetModuleFileNameW"; | 
 |  |  |    void WINAPI GetLocalTime(SYSTEMTIME& lpSystemTime) ;//native from "kernel32.dll" alias "GetLocalTime"; | 
 |  |  |    int WINAPI PathRemoveFileSpecW(xstring lpFileName);// native from "shlwapi.dll" alias "PathRemoveFileSpecW"; | 
 |  |  |  | 
 |  |  | } | 
 |  |  | #define SendMessage SendMessageW | 
 |  |  | #define PostMessage PostMessageW | 
 |  |  | #define GetWindowLong GetWindowLongW  | 
 |  |  | #define SetWindowLong SetWindowLongW | 
 |  |  | #define MessageBox   MessageBoxW | 
 |  |  | #define GetModuleFileName GetModuleFileNameW | 
 |  |  | #define PathRemoveFileSpec PathRemoveFileSpecW | 
 |  |  | #define SetWindowText SetWindowTextW | 
 |  |  | #define GetWindowText GetWindowTextW | 
 |  |  |  | 
 |  |  | #if 0 | 
 |  |  | namespace win32 | 
 |  |  | 
 |  |  |    int GetModuleHandleW(string lpModuleName) ;//native from "kernel32.dll" alias "GetModuleHandleW"; | 
 |  |  |    int GetModuleFileName(int hModule ,string & lpFileName ,int nSize ) ;//native from "kernel32.dll" alias "GetModuleFileName"; | 
 |  |  |    void GetLocalTime(SYSTEMTIME& lpSystemTime) ;//native from "kernel32.dll" alias "GetLocalTime"; | 
 |  |  |  | 
 |  |  | } | 
 |  |  | #endif |