首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

哪位高手有window.h中的函数

2012-02-12 
谁有window.h中的函数?编程时需要beep()函数,才知道有window.h,希望知道更多的这个库里的函数。[解决办法]

谁有window.h中的函数?
编程时需要beep()函数,才知道有window.h,希望知道更多的这个库里的函数。

[解决办法]
看MSDN有列表的
[解决办法]
MSDN
[解决办法]
MSDN 还是要顶一下
[解决办法]
windows.h吧
[解决办法]
MSDN比较详细
[解决办法]
The Beep function generates simple tones on the speaker. The function is synchronous; it does not return control to its caller until the sound finishes.


BOOL Beep(
DWORD dwFreq,
DWORD dwDuration
);

Parameters
dwFreq
[in] Frequency of the sound, in hertz. This parameter must be in the range 37 through 32,767 (0x25 through 0x7FFF).

Windows Me/98/95: The Beep function ignores this parameter.


dwDuration
[in] Duration of the sound, in milliseconds.

Windows Me/98/95: The Beep function ignores this parameter.


Return Values
If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError
--------------------

The MessageBeep function plays a waveform sound. The waveform sound for each sound type is identified by an entry in the registry.


BOOL MessageBeep(
UINT uType
);

Parameters
uType
[in] Sound type, as identified by an entry in the registry. This parameter can be one of the following values

热点排行