Nevron.Interop.Win32 Namespace / NKernel32 Class / Beep Method


Beep Method
Syntax
'Declaration
 
<System.Security.SuppressUnmanagedCodeSecurityAttribute()>
Public Shared Function Beep( _
   ByVal frequency As System.Integer, _
   ByVal duration As System.Integer _
) As System.Boolean
 
'Usage
 
Dim frequency As System.Integer
Dim duration As System.Integer
Dim value As System.Boolean
 
value = NKernel32.Beep(frequency, duration)

Parameters

frequency
duration
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