Beep() is still needed in ntdll, move it back to some random file.

This commit is contained in:
Alexandre Julliard 2003-05-22 03:41:27 +00:00
parent 02d5e1f52c
commit 2f24859b59
2 changed files with 11 additions and 11 deletions

View File

@ -226,14 +226,3 @@ BOOL WINAPI SwitchToThread(void)
Sleep(0);
return 1;
}
/***********************************************************************
* Beep (KERNEL32.@)
*/
BOOL WINAPI Beep( DWORD dwFreq, DWORD dwDur )
{
static const char beep = '\a';
/* dwFreq and dwDur are ignored by Win95 */
if (isatty(2)) write( 2, &beep, 1 );
return TRUE;
}

View File

@ -320,3 +320,14 @@ BOOL WINAPI GetDevicePowerState(HANDLE hDevice, BOOL* pfOn)
FIXME("(hDevice %p pfOn %p): stub\n", hDevice, pfOn);
return TRUE; /* no information */
}
/***********************************************************************
* Beep (KERNEL32.@)
*/
BOOL WINAPI Beep( DWORD dwFreq, DWORD dwDur )
{
static const char beep = '\a';
/* dwFreq and dwDur are ignored by Win95 */
if (isatty(2)) write( 2, &beep, 1 );
return TRUE;
}