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


SetTimer Method
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)

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