.API - Longer List (Desc only)

Category: .Reference Materials

Date: 02-16-2022

Return to Index


 
'The first list is a subset - perhaps those API used more often than others.
'The second list is a longer list - those API used by programmers, but not so frequently.
'There are also thousands of other API not on these lists.
 
'More Frequently Used =========================================================================
BringWindowToTop            'The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child Window is activated.
ChildWindowFromPoint         'The ChildWindowFromPoint function determines which, if any, of the child windows belonging to a parent window contains the specified point. The search is restricted to immediate child windows. Grandchildren, and deeper descendant windows are Not searched. '    To skip certain child windows, use the ChildWindowFromPointEx function.
ChildWindowFromPointEx       'The ChildWindowFromPointEx function determines which, if any, of the child windows belonging to the specified parent window contains the specified point. The function can ignore invisible, disabled, and transparent child windows. The search is restricted to immediate Child windows. Grandchildren AND deeper descendants are Not searched.
EnumChildWindows             'The EnumChildWindows function enumerates the child windows that belong to the specified parent window by passing the handle to each child window, in turn, to an application-defined callback function. EnumChildWindows continues until the last Child Window is enumerated Or the CallBack Function returns FALSE.
EnumWindows                  'The EnumWindows function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function. EnumWindows continues until the last top-level window is enumerated or the CallBack Function returns FALSE.
FindWindow                   'The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search. To search Child windows, beginning with a specified Child Window, use the FindWindowEx Function.
FindWindowEx                 'The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window. This function does Not perform a Case-sensitive search.
GetClientRect                'The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).
GetDesktopWindow             'The GetDesktopWindow function returns a handle to the desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which other windows are painted.
GetForegroundWindow          'The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
GetParent                    'The GetParent function retrieves a handle to the specified window's parent or owner. 'To retrieve a handle to a specified ancestor, use the GetAncestor function.
GetTitleBarInfo              'The GetTitleBarInfo function retrieves information about the specified title bar.
GetWindowInfo                'The GetWindowInfo function retrieves information about the specified window.
GetWindowPlacement           'The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window.
GetWindowRect                'The GetWindowRect function retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
GetWindowText                'The GetWindowText function copies the text of the specified window's title bar (if it has one) into a buffer. If the specified window is a control, the text of the control is copied. However, GetWindowText cannot retrieve the text of a Control in another application.
GetWindowTextLength          'The GetWindowTextLength function retrieves the length, in characters, of the specified window's title bar text (if the window has a title bar). If the specified window is a control, the function retrieves the length of the text within the Control. However, GetWindowTextLength cannot retrieve the length of the Text of an edit Control in another application.
IsChild                      'The IsChild function tests whether a window is a child window or descendant window of a specified parent window. A child window is the direct descendant of a specified parent window if that parent window is in the chain of parent windows; the chain of Parent windows leads from the original overlapped Or pop-up Window to the Child Window.
IsIconic                     'The IsIconic function determines whether the specified window is minimized (iconic).
IsWindow                     'The IsWindow function determines whether the specified window handle identifies an existing window.
IsWindowVisible              'The IsWindowVisible function retrieves the visibility state of the specified window.
IsZoomed                     'The IsZoomed function determines whether a window is maximized.
LogicalToPhysicalPoint       'Converts the logical coordinates of a point in a window to physical coordinates.
MoveWindow                   'The MoveWindow function changes the position and dimensions of the specified window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the Parent window's client area.
OpenIcon                     'The OpenIcon function restores a minimized (iconic) window to its previous size and position; it then activates the window.
PhysicalToLogicalPoint       'Converts the physical coordinates of a point in a window to logical coordinates.
RealChildWindowFromPoint     'The RealChildWindowFromPoint function retrieves a handle to the child window at the specified point. The search is restricted to immediate child windows; grandchildren and deeper descendant windows are not searched.
RealGetWindowClass           'The RealGetWindowClass function retrieves a string that specifies the window type.
SetParent                    'The SetParent function changes the parent window of the specified child window.
SetWindowPlacement           'The SetWindowPlacement function sets the show state and the restored, minimized, and maximized positions of the specified window.
SetWindowPos                 'Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order.
SetWindowText                'The SetWindowText function changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However, SetWindowText cannot change the text of a control in another application.
ShowWindow                   'The ShowWindow function sets the specified window's show state.
SwitchToThisWindow           'The SwitchToThisWindow function is called to switch focus to a specified window and bring it to the foreground.
WindowFromPhysicalPoint      'Retrieves a handle to the window that contains the specified physical point.
WindowFromPoint              'The WindowFromPoint function retrieves a handle to the window that contains the specified point.
 
 
'Longer List ========================================================================
 
AdjustWindowRect
'The AdjustWindowRect function calculates the required size of the window rectangle, based on the desired client-rectangle size. The window rectangle can then be passed to the CreateWindow function to create a window whose client area is the desired Size.
'To specify an extended window style, use the AdjustWindowRectEx function.
 
AdjustWindowRectEx
'The AdjustWindowRectEx function calculates the required size of the window rectangle, based on the desired size of the client rectangle. The window rectangle can then be passed to the CreateWindowEx function to create a window whose client area is the desired Size.
 
AllowActivateDetachQueuesSetFocus
'Enables synchronization of behaviors, such as focus and activation, when switching input processing between different threads.
 
AllowSetForegroundWindow
'The AllowSetForegroundWindow function enables the specified process to set the foreground window using the SetForegroundWindow function. The calling process must already be able to set the foreground window. For more information, see Remarks later in this topic.
 
AnimateWindow
'The AnimateWindow function enables you to produce special effects when showing or hiding windows. There are four types of animation: roll, slide, collapse or expand, and alpha-blended fade.
 
AnyPopup
'The AnyPopup function indicates whether an owned, visible, top-level pop-up, or overlapped window exists on the screen. The function searches the entire screen, not just the calling application's client area.
'This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful.
 
ArrangeIconicWindows
'The ArrangeIconicWindows function arranges all the minimized (iconic) child windows of the specified parent window.
 
BeginDeferWindowPos
'The BeginDeferWindowPos function allocates memory for a multiple-window- position structure and returns the handle to the structure.
 
BringWindowToTop
'The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.
 
CalculatePopupWindowPosition
'Calculates an appropriate pop-up window position using the specified anchor point, pop-up window size, flags, and the optional exclude rectangle. When the specified pop-up window size is smaller than the desktop window size, use the CalculatePopupWindowPosition Function to ensure that the pop-up Window is fully Visible On the Desktop Window, regardless of the specified anchor point.
 
CascadeWindows
'The CascadeWindows function cascades the specified child windows of the specified parent window.
 
ChangeWindowMessageFilter
'Adds or removes a message from the User Interface Privilege Isolation (UIPI) message filter.
 
ChangeWindowMessageFilterEx
'Modifies the UIPI message filter for a specified window.
 
ChildWindowFromPoint
'The ChildWindowFromPoint function determines which, if any, of the child windows belonging to a parent window contains the specified point. The search is restricted to immediate child windows. Grandchildren, and deeper descendant windows are not searched.
'To skip certain child windows, use the ChildWindowFromPointEx function.
 
ChildWindowFromPointEx
'The ChildWindowFromPointEx function determines which, if any, of the child windows belonging to the specified parent window contains the specified point. The function can ignore invisible, disabled, and transparent child windows. The search is restricted to immediate Child windows. Grandchildren AND deeper descendants are Not searched.
 
CloseWindow
'The CloseWindow function minimizes (but does not destroy) the specified window.
 
CreateWindow
'The CreateWindow function creates an overlapped, pop-up, or child window. It specifies the window class, window title, window style, and (optionally) the initial position and size of the window. The function also specifies the window's parent or owner, If any, AND the window's menu.
'To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function.
 
CreateWindowEx
'The CreateWindowEx function creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function. For more information about creating a window and for full descriptions of the other parameters of CreateWindowEx, see CreateWindow.
 
DeferWindowPos
'The DeferWindowPos function updates the specified multiple-window
 
DeregisterShellHookWindow
'Unregisters a specified Shell window that is registered to receive Shell hook messages. It unregisters windows that are registered with a call to the RegisterShellHookWindow function.
 
DestroyWindow
'The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it. The function also destroys the window's menu, flushes the thread message queue, destroys timers, removes Clipboard ownership, AND breaks the Clipboard viewer chain (If the Window is at the top of the viewer chain).
'If the specified window is a parent or owner window, DestroyWindow automatically destroys the associated child or owned windows when it destroys the parent or owner window. The function first destroys child or owned windows, and then it destroys the Parent Or owner Window.
'DestroyWindow also destroys modeless dialog boxes created by the CreateDialog function.
 
EndDeferWindowPos
'The EndDeferWindowPos function simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle.
 
EndTask
'The EndTask function is called to forcibly close a specified window.
 
EnumChildProc
'The EnumChildProc function is an application-defined callback function used with the EnumChildWindows function. It receives the child window handles. The WNDENUMPROC type defines a pointer to this callback function. EnumChildProc is a placeholder For the application-defined Function Name.
 
EnumChildWindows
'The EnumChildWindows function enumerates the child windows that belong to the specified parent window by passing the handle to each child window, in turn, to an application-defined callback function. EnumChildWindows continues until the last child Window is enumerated Or the CallBack Function returns FALSE.
 
EnumThreadWindows
'The EnumThreadWindows function enumerates all nonchild windows associated with a thread by passing the handle to each window, in turn, to an application-defined callback function. EnumThreadWindows continues until the last window is enumerated or the CallBack Function returns FALSE. To enumerate Child windows of a particular Window, use the EnumChildWindows Function.
 
EnumThreadWndProc
'The EnumThreadWndProc function is an application-defined callback function used with the EnumThreadWindows function. It receives the window handles associated with a thread. The WNDENUMPROC type defines a pointer to this callback function. EnumThreadWndProc is a placeholder For the application-defined Function Name.
 
EnumWindows
'The EnumWindows function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function. EnumWindows continues until the last top-level window is enumerated or the callback Function returns FALSE.
 
EnumWindowsProc
'The EnumWindowsProc function is an application-defined callback function used with the EnumWindows or EnumDesktopWindows function. It receives top-level window handles. The WNDENUMPROC type defines a pointer to this callback function. EnumWindowsProc is a placeholder For the application-defined Function Name.
 
FindWindow
'The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search.
'To search child windows, beginning with a specified child window, use the FindWindowEx function.
 
FindWindowEx
'The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window. This function does not perform a Case-sensitive search.
 
GetAltTabInfo
'The GetAltTabInfo function retrieves status information for the specified window if it is the application-switching (ALT+TAB) window.
 
GetAncestor
'The GetAncestor function retrieves the handle to the ancestor of the specified window.
 
GetClientRect
'The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's Client area, the coordinates of the upper-left corner are (0,0).
 
GetDesktopWindow
'The GetDesktopWindow function returns a handle to the desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which other windows are painted.
 
GetForegroundWindow
'The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
 
GetGUIThreadInfo
'Retrieves information about the active window or a specified graphical user interface (GUI) thread.
 
GetLastActivePopup
'The GetLastActivePopup function determines which pop-up window owned by the specified window was most recently active.
 
GetLayeredWindowAttributes
'The GetLayeredWindowAttributes function retrieves the opacity and transparency color key of a layered window.
 
GetNextWindow
'The GetNextWindow function retrieves a handle to the next or previous window in the Z-Order. The next window is below the specified window; the previous window is above. If the specified window is a topmost window, the function retrieves a handle to the Next (Or Previous) topmost Window. If the specified Window is a top-level Window, the Function retrieves a Handle to the Next (Or Previous) top-level Window. If the specified Window is a Child Window, the Function searches For a Handle to the Next (Or Previous) Child Window.
 
GetParent
'The GetParent function retrieves a handle to the specified window's parent or owner.
'To retrieve a handle to a specified ancestor, use the GetAncestor function.
 
GetProcessDefaultLayout
'The GetProcessDefaultLayout function gets the default layout that is used when windows are created with no parent or owner.
 
GetShellWindow
'The GetShellWindow function returns a handle to the Shell's desktop window.
 
GetTitleBarInfo
'The GetTitleBarInfo function retrieves information about the specified title bar.
 
GetTopWindow
'The GetTopWindow function examines the Z order of the child windows associated with the specified parent window and retrieves a handle to the child window at the top of the Z order.
 
GetWindow
'The GetWindow function retrieves a handle to a window that has the specified relationship (Z-Order or owner) to the specified window.
 
GetWindowDisplayAffinity
'Retrieves the current display affinity setting, from any process, for a given window.
 
GetWindowInfo
'The GetWindowInfo function retrieves information about the specified window.
 
GetWindowModuleFileName
'The GetWindowModuleFileName function retrieves the full path and file name of the module associated with the specified window handle.
 
GetWindowPlacement
'The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window.
 
GetWindowRect
'The GetWindowRect function retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
 
GetWindowText
'The GetWindowText function copies the text of the specified window's title bar (if it has one) into a buffer. If the specified window is a control, the text of the control is copied. However, GetWindowText cannot retrieve the text of a control in another application.
 
GetWindowTextLength
'The GetWindowTextLength function retrieves the length, in characters, of the specified window's title bar text (if the window has a title bar). If the specified window is a control, the function retrieves the length of the text within the control. However, GetWindowTextLength cannot retrieve the length of the Text of an edit Control in another application.
 
GetWindowThreadProcessId
'The GetWindowThreadProcessId function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.
 
InternalGetWindowText
'This function is similar to the GetWindowText function. However, it obtains the window text directly from the window structure associated with the specified window's handle and then always provides the text as a unicode string. This is unlike GetWindowText which obtains the Text by sending the Window a WM_GETTEXT message. If the specified Window is a Control, the Text of the Control is obtained.
 
IsChild
'The IsChild function tests whether a window is a child window or descendant window of a specified parent window. A child window is the direct descendant of a specified parent window if that parent window is in the chain of parent windows; the chain of Parent windows leads from the original overlapped Or pop-up Window to the Child Window.
 
IsGUIThread
'The IsGUIThread function tests whether the calling thread is already a GUI thread. It can also optionally convert the thread to a GUI thread.
 
IsHungAppWindow
'You call the IsHungAppWindow function to determine if Windows considers that a specified application is not responding. An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.
 
IsIconic
'The IsIconic function determines whether the specified window is minimized (iconic).
 
IsProcessDPIAware
'Gets a value that indicates if the current process is dots per inch (dpi) aware such that it adjusts the sizes of user interface (UI) elements to compensate for the dpi setting.
 
IsWindow
'The IsWindow function determines whether the specified window handle identifies an existing window.
 
IsWindowUnicode
'The IsWindowUnicode function determines whether the specified window is a native Unicode window.
 
IsWindowVisible
'The IsWindowVisible function retrieves the visibility state of the specified window.
 
IsZoomed
'The IsZoomed function determines whether a window is maximized.
 
LockSetForegroundWindow
'The foreground process can call the LockSetForegroundWindow function to disable calls to the SetForegroundWindow function.
 
LogicalToPhysicalPoint
'Converts the logical coordinates of a point in a window to physical coordinates.
 
MoveWindow
'The MoveWindow function changes the position and dimensions of the specified window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the Parent window's client area.
 
OpenIcon
'The OpenIcon function restores a minimized (iconic) window to its previous size and position; it then activates the window.
 
PhysicalToLogicalPoint
'Converts the physical coordinates of a point in a window to logical coordinates.
 
RealChildWindowFromPoint
'The RealChildWindowFromPoint function retrieves a handle to the child window at the specified point. The search is restricted to immediate child windows; grandchildren and deeper descendant windows are not searched.
 
RealGetWindowClass
'The RealGetWindowClass function retrieves a string that specifies the window type.
 
RegisterShellHookWindow
'Registers a specified Shell window to receive certain messages for events or notifications that are useful to Shell applications. The event messages received are only those sent to the Shell window associated with the specified window's desktop. Many of the messages are the same as those that can be received after calling the SetWindowsHookEx Function AND specifying WH_SHELL For the hook Type. The difference with RegisterShellHookWindow is that the messages are received through the specified window's WindowProc and not through a call back procedure.
 
SetForegroundWindow
'The SetForegroundWindow function puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user. The system assigns a slightly higher priority to the Thread that created the foreground Window than it does to other threads.
 
SetLayeredWindowAttributes
'The SetLayeredWindowAttributes function sets the opacity and transparency color key of a layered window.
 
SetParent
'The SetParent function changes the parent window of the specified child window.
 
SetProcessDefaultLayout
'The SetProcessDefaultLayout function changes the default layout when windows are created with no parent or owner only for the currently running process.
 
SetProcessDPIAware
'Sets the current process as dpi aware.
 
SetWindowDisplayAffinity
'Stores the display affinity setting in kernel mode on the hWnd associated with the window.
 
SetWindowPlacement
'The SetWindowPlacement function sets the show state and the restored, minimized, and maximized positions of the specified window.
 
SetWindowPos
'Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order.
 
SetWindowText
'The SetWindowText function changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However, SetWindowText cannot change the text of a control in another application.
 
ShowOwnedPopups
'The ShowOwnedPopups function shows or hides all pop-up windows owned by the specified window.
 
ShowWindow
'The ShowWindow function sets the specified window's show state.
 
ShowWindowAsync
'The ShowWindowAsync function sets the show state of a window created by a different thread.
 
SoundSentry
'The SoundSentry function triggers a visual signal to indicate that a sound is playing.
 
SwitchToThisWindow
'The SwitchToThisWindow function is called to switch focus to a specified window and bring it to the foreground.
 
TileWindows
'The TileWindows function tiles the specified child windows of the specified parent window.
 
UpdateLayeredWindow
'The UpdateLayeredWindow function updates the position, size, shape, content, and translucency of a layered window.
 
UpdateLayeredWindowIndirect
'Updates the position, size, shape, content, and translucency of a layered window.
 
WindowFromPhysicalPoint
'Retrieves a handle to the window that contains the specified physical point.
 
WindowFromPoint
'The WindowFromPoint function retrieves a handle to the window that contains the specified point.
 
WinMain
'The WinMain Function is the conventional Name For the User-provided entry point For a Windows-based application.
 
'gbs_00005
'Date: 03-10-2012


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm