[]
        
(Showing Draft Content)

C1.Util.Win.Win32.SetWindowLong

SetWindowLong Method

SetWindowLong(nint, int, int)

Declaration
public static extern int SetWindowLong(nint hwnd, int nIndex, int dwNewLong)
Public Shared Function SetWindowLong(hwnd As IntPtr, nIndex As Integer, dwNewLong As Integer) As Integer
Parameters
Type Name Description
nint hwnd
int nIndex
int dwNewLong
Returns
Type Description
int

SetWindowLong(nint, int, nint)

Declaration
public static extern nint SetWindowLong(nint hwnd, int nIndex, nint dwNewLong)
Public Shared Function SetWindowLong(hwnd As IntPtr, nIndex As Integer, dwNewLong As IntPtr) As IntPtr
Parameters
Type Name Description
nint hwnd
int nIndex
nint dwNewLong
Returns
Type Description
nint

SetWindowLong(nint, int, WindowProc)

Declaration
public static extern nint SetWindowLong(nint hwnd, int nIndex, Win32.WindowProc newWindowProc)
Public Shared Function SetWindowLong(hwnd As IntPtr, nIndex As Integer, newWindowProc As Win32.WindowProc) As IntPtr
Parameters
Type Name Description
nint hwnd
int nIndex
Win32.WindowProc newWindowProc
Returns
Type Description
nint