Commit 2f24859b authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 02d5e1f5
......@@ -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;
}
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment