DeferWindowPos function user32

int DeferWindowPos(
  1. int hWinPosInfo,
  2. int hWnd,
  3. int hWndInsertAfter,
  4. int x,
  5. int y,
  6. int cx,
  7. int cy,
  8. int uFlags
)

Updates the specified multiple-window – position structure for the specified window. The function then returns a handle to the updated structure. The EndDeferWindowPos function uses the information in this structure to change the position and size of a number of windows simultaneously. The BeginDeferWindowPos function creates the structure.

HDWP DeferWindowPos(
  HDWP hWinPosInfo,
  HWND hWnd,
  HWND hWndInsertAfter,
  int  x,
  int  y,
  int  cx,
  int  cy,
  UINT uFlags
);

Implementation

int DeferWindowPos(int hWinPosInfo, int hWnd, int hWndInsertAfter, int x, int y,
        int cx, int cy, int uFlags) =>
    _DeferWindowPos(hWinPosInfo, hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);