用于声明 win 用到的全局 WinAPI
::User32.api( "BeginDeferWindowPos", "ptr(int numWins)" )
::User32.api("CallWindowProc","int(ptr lpPrevWndFunc,addr hwnd,INT Msg,ADDR wParam,addr lParam)" )
::User32.api( "ClientToScreen", " int(addr hwnd,struct &lpPoint ) " )
::User32.api("CopyImageW", "ptr(ptr hlmage, INT uType,int cx,int cy,INT flags)")
::User32.api( "CreateWindowExW", " int(INT exStyle,ustring className,ustring windowName,INT style,int x,int y,int width,int height,addr hwndParent,addr hMenu,pointer hlnstance,ptr lpParam)" )
::User32.api( "DefWindowProc", "int(addr hwnd,INT msg,ADDR wParam,addr lParam) " );
::User32.api( "DeferWindowPos", "ptr(PTR hWinPo,addr hwnd,addr instAffer,int x,int y, int cx, int Cy,INT fags)" )
::User32.api("DestroyCursor","int(ptr hCursor)")
::User32.api("DestroyIcon","int(ptr hIcon)")
::User32.api( "DestroyWindow", "int(addr hwnd )" );
::User32.api( "EndDeferWindowPos", "bool(PTR hWinPos)" )
::User32.api("GetClassInfoEx", "int(ptr,utf16,struct&)")
::User32.api( "GetClientRect", " int(addr hwnd,struct &lpRect ) " )
::User32.api("GetCursor","ptr()")
::User32.api("GetSystemMetrics","int(int)")
::User32.api("GetWindowLong","int(addr hwnd,int nIndex)" )
::User32.api( "GetWindowRect", " int(addr hwnd,struct &lpRect ) " )
::User32.api( "InvalidateRect", " int(addr hwnd,struct rect,bool erase) " )
::User32.api("LoadBitmapW", "ptr(ptr,ustring)")
::User32.api("LoadCursorW", "ptr(ptr,ustring)")
::User32.api("LoadIconW", "ptr(ptr,ustring)")
::User32.api("LoadImageW", "ptr(ptr hInst,ustring name,INT uType,int cxDesired,int CyDesire,INT fuLoad)")
::User32.api( "MapWindowPoints", "int(addr from,addr to,struct &points,INT len)");
::User32.api( "MoveWindow", "int( addr hwnd, int x,int y,int w,int h,bool repaint)" )
::User32.api("PostMessageW","addr(addr hwnd,INT msg,ADDR wParam,addr lParam)")
::User32.api("PostThreadMessageW","addr(int idThread,INT msg,ADDR wParam,addr lParam)");
::User32.api( "PtInRect", "int(struct, int, int)" );
::User32.api("RedrawWindow","bool(addr hwnd,struct lprcUpdate,ptr hrgnUpdate,INT flags)");
::User32.api( "RegisterClassEx", " word(struct wc) " )
::User32.api("RegisterWindowMessageW","INT(ustring)");
::User32.api( "ScreenToClient", " int(addr hwnd,struct &lpPoint ) " )
::User32.api("SendMessageW","addr(addr hwnd,INT msg,ptr wParam,ptr lParam)")
::User32.api("SendMessageW","addr(addr hwnd,INT msg,int &wParam,int &lParam)")
::User32.api("SendMessageW","addr(int,INT,int,ustring &lParam)")
::User32.api("SendMessageW","addr(int,INT,int,string &lParam)")
::User32.api("SendMessageW","addr(int,INT,int,struct &lParam)")
::User32.api("SendMessageW","addr(addr hwnd,INT msg,ADDR wParam,addr lParam)")
::User32.api("SendMessageTimeoutW","addr(addr hwnd,INT msg,ptr wParam,ptr lParam,INT flags,INT timeout,int & resultult)")
::User32.api("SetCursor","int(ptr hCur)")
::User32.api("SetWindowLong","int(addr hwnd,int nIndex,int dwNewLong)" )
::User32.api("SetWindowLong","ptr(addr hwnd,int nIndex,ptr ptrNew)" )
::User32.api("SetWindowPos","boolean(addr hwnd,addr hwndlnsertAfter,int X,int Y,int cx,int cy,int Flags)")
::User32.api("SystemParametersInfo","int(INT act, INT param, struct& pvParam,INT winIni)");
::User32.api( "UpdateWindow", "bool(addr) " )