# Function Reference

# _WinAPI_EndDeferWindowPos

Simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle

#include <WinAPISysWin.au3>
_WinAPI_EndDeferWindowPos ( $hInfo )

## Parameters

$hInfo | Handle to a multiple-window-position structure that contains size and position information for one or more windows. This internal structure is returned by the _WinAPI_BeginDeferWindowPos() function or by the most recent call to the _WinAPI_DeferWindowPos() function.

## Return Value

Success: | True.
Failure: | False, call _WinAPI_GetLastError() to get extended error information

## Remarks

The _WinAPI_EndDeferWindowPos() function sends the WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages to each window identified in the internal structure.

## Related

_WinAPI_BeginDeferWindowPos

## See Also

Search EndDeferWindowPos in MSDN Library.