aardio 文档

win.api 库模块帮助文档

win 成员列表

win.api

用于声明 win 用到的全局 WinAPI

全局常量

::BeginDeferWindowPos

::User32.api( "BeginDeferWindowPos", "ptr(int numWins)" )

::CallWindowProc

::User32.api("CallWindowProc","int(ptr lpPrevWndFunc,addr hwnd,INT Msg,ADDR wParam,addr lParam)" )

::ClientToScreen

::User32.api( "ClientToScreen", " int(addr hwnd,struct &lpPoint ) " )

::CopyImage

::User32.api("CopyImageW", "ptr(ptr hlmage, INT uType,int cx,int cy,INT flags)")

::CreateWindowEx

::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)" )

::DefWindowProc

::User32.api( "DefWindowProc", "int(addr hwnd,INT msg,ADDR wParam,addr lParam) " );

::DeferWindowPos

::User32.api( "DeferWindowPos", "ptr(PTR hWinPo,addr hwnd,addr instAffer,int x,int y, int cx, int Cy,INT fags)" )

::DestroyCursor

::User32.api("DestroyCursor","int(ptr hCursor)")

::DestroyIcon

::User32.api("DestroyIcon","int(ptr hIcon)")

::DestroyWindow

::User32.api( "DestroyWindow", "int(addr hwnd )" );

::EndDeferWindowPos

::User32.api( "EndDeferWindowPos", "bool(PTR hWinPos)" )

::GetClassInfoEx

::User32.api("GetClassInfoEx", "int(ptr,utf16,struct&)")

::GetClientRect

::User32.api( "GetClientRect", " int(addr hwnd,struct &lpRect ) " )

::GetCursor

::User32.api("GetCursor","ptr()")

::GetSystemMetrics

::User32.api("GetSystemMetrics","int(int)")

::GetWindowLong

::User32.api("GetWindowLong","int(addr hwnd,int nIndex)" )

::GetWindowRect

::User32.api( "GetWindowRect", " int(addr hwnd,struct &lpRect ) " )

::InvalidateRect

::User32.api( "InvalidateRect", " int(addr hwnd,struct rect,bool erase) " )

::LoadBitmap

::User32.api("LoadBitmapW", "ptr(ptr,ustring)")

::LoadCursor

::User32.api("LoadCursorW", "ptr(ptr,ustring)")

::LoadIcon

::User32.api("LoadIconW", "ptr(ptr,ustring)")

::LoadImage

::User32.api("LoadImageW", "ptr(ptr hInst,ustring name,INT uType,int cxDesired,int CyDesire,INT fuLoad)")

::MapWindowPoints

::User32.api( "MapWindowPoints", "int(addr from,addr to,struct &points,INT len)");

::MoveWindow

::User32.api( "MoveWindow", "int( addr hwnd, int x,int y,int w,int h,bool repaint)" )

::PostMessage

::User32.api("PostMessageW","addr(addr hwnd,INT msg,ADDR wParam,addr lParam)")

::PostThreadMessage

::User32.api("PostThreadMessageW","addr(int idThread,INT msg,ADDR wParam,addr lParam)");

::PtInRect

::User32.api( "PtInRect", "int(struct, int, int)" );

::RedrawWindow

::User32.api("RedrawWindow","bool(addr hwnd,struct lprcUpdate,ptr hrgnUpdate,INT flags)");

::RegisterClassEx

::User32.api( "RegisterClassEx", " word(struct wc) " )

::RegisterWindowMessage

::User32.api("RegisterWindowMessageW","INT(ustring)");

::ScreenToClient

::User32.api( "ScreenToClient", " int(addr hwnd,struct &lpPoint ) " )

::SendMessage

::User32.api("SendMessageW","addr(addr hwnd,INT msg,ptr wParam,ptr lParam)")

::SendMessageByInt

::User32.api("SendMessageW","addr(addr hwnd,INT msg,int &wParam,int &lParam)")

::SendMessageByStr

::User32.api("SendMessageW","addr(int,INT,int,ustring &lParam)")

::SendMessageByString

::User32.api("SendMessageW","addr(int,INT,int,string &lParam)")

::SendMessageByStruct

::User32.api("SendMessageW","addr(int,INT,int,struct &lParam)")

::SendMessageInt

::User32.api("SendMessageW","addr(addr hwnd,INT msg,ADDR wParam,addr lParam)")

::SendMessageTimeout

::User32.api("SendMessageTimeoutW","addr(addr hwnd,INT msg,ptr wParam,ptr lParam,INT flags,INT timeout,int & resultult)")

::SetCursor

::User32.api("SetCursor","int(ptr hCur)")

::SetWindowLong

::User32.api("SetWindowLong","int(addr hwnd,int nIndex,int dwNewLong)" )

::SetWindowPointer

::User32.api("SetWindowLong","ptr(addr hwnd,int nIndex,ptr ptrNew)" )

::SetWindowPos

::User32.api("SetWindowPos","boolean(addr hwnd,addr hwndlnsertAfter,int X,int Y,int cx,int cy,int Flags)")

::SystemParametersInfo

::User32.api("SystemParametersInfo","int(INT act, INT param, struct& pvParam,INT winIni)");

::UpdateWindow

::User32.api( "UpdateWindow", "bool(addr) " )

Markdown 格式