Nevron.Interop.Win32 Namespace / NUser32 Class / SetWindowLong Method / SetWindowLong(IntPtr,Int32,IntPtr) Method


In This Topic
    SetWindowLong(IntPtr,Int32,IntPtr) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function SetWindowLong( _
       ByVal hWnd As System.IntPtr, _
       ByVal nIndex As System.Integer, _
       ByVal newLong As System.IntPtr _
    ) As System.Integer
    'Usage
     
    
    Dim hWnd As System.IntPtr
    Dim nIndex As System.Integer
    Dim newLong As System.IntPtr
    Dim value As System.Integer
     
    value = NUser32.SetWindowLong(hWnd, nIndex, newLong)
    public static System.int SetWindowLong( 
       System.IntPtr hWnd,
       System.int nIndex,
       System.IntPtr newLong
    )

    Parameters

    hWnd
    nIndex
    newLong
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also