你可以用以下函数,自由设定时间,一小时也可以:BOOL Beep(
  DWORD dwFreq,      // sound frequency
  DWORD dwDuration   // sound duration
);