mirror of
https://github.com/reactos/reactos.git
synced 2026-06-17 12:37:17 +08:00
Use `PCSTR` for the type of the (Hal,Inbv,Vid)DisplayString() routines' `String` parameter, instead of `PCHAR` or `PUCHAR`, since it points to a NUL-terminated string. (The buffer isn't a counted string.) And improve SAL annotations along the way.
67 lines
1.1 KiB
C
67 lines
1.1 KiB
C
/*
|
|
* PROJECT: ReactOS HAL
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: hal/halarm/generic/display.c
|
|
* PURPOSE: Screen Display Routines, now useless since NT 5.1+
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
#include <hal.h>
|
|
#include <ndk/inbvfuncs.h>
|
|
|
|
/* PUBLIC FUNCTIONS ***********************************************************/
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
HalAcquireDisplayOwnership(
|
|
_In_ PHAL_RESET_DISPLAY_PARAMETERS ResetDisplayParameters)
|
|
{
|
|
/* Stub since Windows XP implemented Inbv */
|
|
return;
|
|
}
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
HalDisplayString(
|
|
_In_ PCSTR String)
|
|
{
|
|
/* Call the Inbv driver */
|
|
InbvDisplayString(String);
|
|
}
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
HalQueryDisplayParameters(
|
|
_Out_ PULONG DispSizeX,
|
|
_Out_ PULONG DispSizeY,
|
|
_Out_ PULONG CursorPosX,
|
|
_Out_ PULONG CursorPosY)
|
|
{
|
|
/* Stub since Windows XP implemented Inbv */
|
|
return;
|
|
}
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
HalSetDisplayParameters(
|
|
_In_ ULONG CursorPosX,
|
|
_In_ ULONG CursorPosY)
|
|
{
|
|
/* Stub since Windows XP implemented Inbv */
|
|
return;
|
|
}
|
|
|
|
/* EOF */
|