Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

BOOL EndDeferWindowPos( 
  HDWP 
hWinPosInfo 
);

Parameters

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 BeginDeferWindowPosfunction or by the most recent call to the DeferWindowPosfunction.

Return Value

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

Remarks

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

Requirements

Header winuser.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also