Nevron .NET Vision
Nevron.Interop.Win32 Namespace / NUser32 Class / SetTimer Method


In This Topic
    SetTimer Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function SetTimer( _
       ByVal hwnd As System.IntPtr, _
       ByVal timerId As System.Integer, _
       ByVal interval As System.Integer, _
       ByVal callBack As System.IntPtr _
    ) As System.Integer
    'Usage
     
    
    Dim hwnd As System.IntPtr
    Dim timerId As System.Integer
    Dim interval As System.Integer
    Dim callBack As System.IntPtr
    Dim value As System.Integer
     
    value = NUser32.SetTimer(hwnd, timerId, interval, callBack)
    public static System.int SetTimer( 
       System.IntPtr hwnd,
       System.int timerId,
       System.int interval,
       System.IntPtr callBack
    )

    Parameters

    hwnd
    timerId
    interval
    callBack
    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