mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 01:32:34 +00:00
Beep() is still needed in ntdll, move it back to some random file.
This commit is contained in:
parent
02d5e1f52c
commit
2f24859b59
@ -226,14 +226,3 @@ BOOL WINAPI SwitchToThread(void)
|
|||||||
Sleep(0);
|
Sleep(0);
|
||||||
return 1;
|
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);
|
FIXME("(hDevice %p pfOn %p): stub\n", hDevice, pfOn);
|
||||||
return TRUE; /* no information */
|
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;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user