User32BeginDeferWindowPos Method

Allocates memory for a multiple-window- position structure and returns the handle to the structure.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", ExactSpelling = true, SetLastError = true)]
public static IntPtr BeginDeferWindowPos(
	int numWindows
)

Parameters

numWindows  Int32
The initial number of windows for which to store position information. The DeferWindowPos(IntPtr, IntPtr, IntPtr, Int32, Int32, Int32, Int32, SetWindowPosFlags) function increases the size of the structure, if necessary.

Return Value

IntPtr
If the function succeeds, the return value identifies the multiple-window-position structure.

If insufficient system resources are available to allocate the structure, the return value is Zero.

To get extended error information, call GetLastWin32Error.

Remarks

See Also