Compartir a través de


NativeMethods.SetWindowLong Method

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim hWnd As IntPtr
Dim nIndex As WinUserConstant
Dim dwNewLong As UInteger
Dim returnValue As Integer

returnValue = NativeMethods.SetWindowLong(hWnd, nIndex, dwNewLong)

Syntax

'Declaration
Public Shared Function SetWindowLong ( _
    hWnd As IntPtr, _
    nIndex As WinUserConstant, _
    dwNewLong As UInteger _
) As Integer
public static int SetWindowLong (
    IntPtr hWnd,
    WinUserConstant nIndex,
    uint dwNewLong
)
public:
static int SetWindowLong (
    IntPtr hWnd, 
    WinUserConstant nIndex, 
    unsigned int dwNewLong
)
public static int SetWindowLong (
    IntPtr hWnd, 
    WinUserConstant nIndex, 
    UInt32 dwNewLong
)
public static function SetWindowLong (
    hWnd : IntPtr, 
    nIndex : WinUserConstant, 
    dwNewLong : uint
) : int

Parameters

  • hWnd
  • nIndex
  • dwNewLong

Return Value

Type: Int32

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

NativeMethods Class
NativeMethods Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.