MessageBeep in the .NET Framework

This has come by in
email a few times, so I thought I’d post it here. Clearly this is a hole in the V1 and we
are addressing it in Whidbey. "urn:schemas-microsoft-com:office:office" />

Until
then:

public enum MessageBeepType
{

Default = -1,
Ok = 0x00000000,
Error
= 0x00000010,
Question = 0x00000020,

Warning = 0x00000030,
Information =
0x00000040,
}

[DllImport("user32.dll",
SetLastError=true)]
public static extern bool
MessageBeep(
MessageBeepType
type
);