WindowsUtilitiesSetWindowLong Method |
Changes an attribute of the specified window.
The function also sets a value at the specified offset in the extra window memory.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static IntPtr SetWindowLong(
IntPtr handle,
WL index,
IntPtr newLong
)
Parameters
- handle
- Type: SystemIntPtr
A handle to the window and, indirectly, the class to which the window belongs. The SetWindowLong function fails if the process that owns the window specified by the handle parameter is at a higher process privilege in the UIPI hierarchy than the process the calling thread resides in. - index
- Type: ShellBoost.Core.UtilitiesWL
The zero-based offset to the value to be set. - newLong
- Type: SystemIntPtr
The replacement value.
Return Value
Type:
IntPtrThe previous value or IntPtr.Zero.
See Also