User32BeginDeferWindowPos Method
Allocates memory for a multiple-window- position structure and returns the handle to the structure.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("User32.dll", ExactSpelling := true, SetLastError := true>]
Public Shared Function BeginDeferWindowPos (
numWindows As Integer
) As IntPtr
Dim numWindows As Integer
Dim returnValue As IntPtr
returnValue = User32.BeginDeferWindowPos(numWindows)
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true, SetLastError = true)]
static IntPtr BeginDeferWindowPos(
int numWindows
)
[<DllImportAttribute("User32.dll", ExactSpelling = true, SetLastError = true)>]
static member BeginDeferWindowPos :
numWindows : int -> IntPtr
No code example is currently available or this language may not be supported.
- 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.
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.