Windows user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPISys.au3>.

 

User Defined Function Description
_WinAPI_AdjustWindowRectEx Calculates the required size of the window rectangle, based on the desired size of the client rectangle
_WinAPI_AnimateWindow Enables you to produce special effects when showing or hiding windows
_WinAPI_BeginDeferWindowPos Allocates memory for a multiple-window-position structure
_WinAPI_BringWindowToTop Brings the specified window to the top of the Z order
_WinAPI_BroadcastSystemMessage Sends a message to the specified recipients
_WinAPI_CallWindowProcW Passes message information to the specified window procedure
_WinAPI_CascadeWindows Cascades the specified child windows of the specified parent window
_WinAPI_ChangeWindowMessageFilterEx Modifies the User Interface Privilege Isolation (UIPI) message filter for a specified window
_WinAPI_ChildWindowFromPointEx Determines which, if any, of the child windows belonging to the specified parent window contains the specified point
_WinAPI_CloseWindow Minimizes (but does not destroy) the specified window
_WinAPI_DeferWindowPos Updates the specified multiple-window-position structure for the specified window
_WinAPI_DefWindowProcW Calls the default window procedure to provide default processing for any window messages
_WinAPI_DeregisterShellHookWindow Unregisters a specified Shell window that is registered to receive Shell hook messages
_WinAPI_DragAcceptFiles Registers whether a window accepts dropped files
_WinAPI_DragFinish Releases memory that the system allocated for use in transferring file names to the application
_WinAPI_DragQueryFileEx Retrieves the names of dropped files that result from a successful drag-and-drop operation
_WinAPI_DragQueryPoint Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation
_WinAPI_EndDeferWindowPos Simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle
_WinAPI_EnumChildWindows Enumerates a child windows that belong to the specified parent window
_WinAPI_GetClassInfoEx Retrieves information about a window class
_WinAPI_GetClassLongEx Retrieves the specified value associated with the specified window
_WinAPI_GetGUIThreadInfo Retrieves information about the active window or a specified GUI thread
_WinAPI_GetLastActivePopup Determines which pop-up window owned by the specified window was most recently active
_WinAPI_GetMessageExtraInfo Retrieves the extra message information for the current thread
_WinAPI_GetMonitorInfo Retrieves information about a display monitor
_WinAPI_GetObjectInfoByHandle Retrieves information about a specified object
_WinAPI_GetObjectNameByHandle Retrieves a name of the specified object
_WinAPI_GetShellWindow Retrieves a handle to the Shell's desktop window
_WinAPI_GetTopWindow Retrieves a handle to the child window at the top of the Z order
_WinAPI_GetWindowDisplayAffinity Retrieves the current display affinity setting, from any process, for a given window
_WinAPI_GetWindowInfo Retrieves information about the specified window
_WinAPI_GetWorkArea Retrieves the size of the working area on the primary display monitor
_WinAPI_IsChild Tests whether a window is a child window of a specified parent window
_WinAPI_IsHungAppWindow Determines whether the specified application is not responding
_WinAPI_IsIconic Determines whether the specified window is minimized (iconic)
_WinAPI_IsWindowUnicode Determines whether the specified window is a native Unicode window
_WinAPI_IsZoomed Determines whether a window is maximized
_WinAPI_KillTimer Destroys the specified timer
_WinAPI_OpenIcon Restores a minimized (iconic) window to its previous size and position and activates the window
_WinAPI_RegisterClass Registers a window class
_WinAPI_RegisterClassEx Registers a window class
_WinAPI_RegisterShellHookWindow Registers a specified Shell window to receive certain messages for events or notifications
_WinAPI_SendMessageTimeout Sends the specified message to one of more windows
_WinAPI_SetClassLongEx Replaces the specified value into the specified window belongs
_WinAPI_SetForegroundWindow Puts the specified window into the foreground and activates its
_WinAPI_SetMessageExtraInfo Sets the extra message information for the current thread
_WinAPI_SetTimer Creates a timer with the specified time-out value
_WinAPI_SetWindowDisplayAffinity Stores the display affinity setting in kernel mode on the specified window
_WinAPI_ShowOwnedPopups Shows or hides all pop-up windows owned by the specified window
_WinAPI_SwitchToThisWindow Switches the focus to a specified window and bring it to the foreground
_WinAPI_TileWindows Tiles the specified child windows of the specified parent window
_WinAPI_UnregisterClass Unregisters a window class, freeing the memory required for the class
_WinAPI_UpdateLayeredWindowEx Updates a bitmap translucency of a layered window
_WinAPI_UpdateLayeredWindowIndirect Updates the position, size, shape, content, and translucency of a layered window