EndDeferWindowPos (Compact 2013)


This function simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle.

BOOL EndDeferWindowPos( 
  HDWP hWinPosInfo 


[in] 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 BeginDeferWindowPos function or by the most recent call to the DeferWindowPos function.

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

In Windows Embedded Compact, the EndDeferWindowPos function sends the WM_WINDOWPOSCHANGED message to each window identified in the internal structure. It does not send a WM_WINDOWPOSCHANGING message.