Files
reactos/hal/halarm/generic/display.c
Hermès Bélusca-Maïto 5674e5d32b [BOOTVID][HAL][NTOS:INBV][NDK] *DisplayString(): Use a more suitable string pointer parameter type
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.
2026-01-03 14:19:24 +01:00

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 */