[DllImport("Kernel32.dll")]
public static extern bool Beep(UInt32 frequency, UInt32 duration);
public static void BeepMe()
{
int Frequency = 500;
int DurationInMS = 100;
Beep(Frequency, DurationInMS);
}
..
[DllImport("Kernel32.dll")]
public static extern bool Beep(UInt32 frequency, UInt32 duration);
public static void BeepMe()
{
int Frequency = 500;
int DurationInMS = 100;
Beep(Frequency, DurationInMS);
}
No comments:
Post a Comment