2006-05-10 17:47:44 +00:00
|
|
|
/*++ NDK Version: 0098
|
2005-11-22 04:57:45 +00:00
|
|
|
|
|
|
|
Copyright (c) Alex Ionescu. All rights reserved.
|
|
|
|
|
|
|
|
Header Name:
|
|
|
|
|
|
|
|
inbvfuncs.h
|
|
|
|
|
|
|
|
Abstract:
|
2005-06-18 23:33:40 +00:00
|
|
|
|
2005-11-22 04:57:45 +00:00
|
|
|
Function definitions for the Boot Video Driver.
|
2005-06-18 23:33:40 +00:00
|
|
|
|
2005-11-22 04:57:45 +00:00
|
|
|
Author:
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
|
2005-11-22 04:57:45 +00:00
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _INBVFUNCS_H
|
|
|
|
#define _INBVFUNCS_H
|
2005-06-18 23:33:40 +00:00
|
|
|
|
2005-11-22 04:57:45 +00:00
|
|
|
//
|
|
|
|
// Dependencies
|
|
|
|
//
|
2005-11-25 00:17:40 +00:00
|
|
|
#include <umtypes.h>
|
2007-02-03 20:30:32 +00:00
|
|
|
#include <inbvtypes.h>
|
2018-12-30 11:19:11 +00:00
|
|
|
#include <section_attribs.h>
|
2005-06-18 23:33:40 +00:00
|
|
|
|
2005-11-25 00:17:40 +00:00
|
|
|
#ifndef NTOS_MODE_USER
|
2005-11-22 04:57:45 +00:00
|
|
|
//
|
|
|
|
// Ownership Functions
|
|
|
|
//
|
2005-06-18 23:33:40 +00:00
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2007-02-03 20:30:32 +00:00
|
|
|
InbvAcquireDisplayOwnership(
|
|
|
|
VOID
|
|
|
|
);
|
2005-06-18 23:33:40 +00:00
|
|
|
|
|
|
|
BOOLEAN
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2007-02-03 20:30:32 +00:00
|
|
|
InbvCheckDisplayOwnership(
|
|
|
|
VOID
|
|
|
|
);
|
2005-06-18 23:33:40 +00:00
|
|
|
|
2005-11-22 04:57:45 +00:00
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-11-22 04:57:45 +00:00
|
|
|
InbvNotifyDisplayOwnershipLost(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ INBV_RESET_DISPLAY_PARAMETERS Callback
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
2005-11-22 04:57:45 +00:00
|
|
|
//
|
|
|
|
// Installation Functions
|
|
|
|
//
|
2005-06-18 23:33:40 +00:00
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-06-18 23:33:40 +00:00
|
|
|
InbvEnableBootDriver(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ BOOLEAN Enable
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-06-18 23:33:40 +00:00
|
|
|
InbvInstallDisplayStringFilter(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ INBV_DISPLAY_STRING_FILTER DisplayFilter
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
BOOLEAN
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2007-02-03 20:30:32 +00:00
|
|
|
InbvIsBootDriverInstalled(
|
|
|
|
VOID
|
|
|
|
);
|
2005-06-18 23:33:40 +00:00
|
|
|
|
2005-11-22 04:57:45 +00:00
|
|
|
//
|
|
|
|
// Display Functions
|
|
|
|
//
|
|
|
|
BOOLEAN
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-11-22 04:57:45 +00:00
|
|
|
InbvDisplayString(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ PCHAR String
|
2005-11-22 04:57:45 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
BOOLEAN
|
|
|
|
NTAPI
|
|
|
|
InbvEnableDisplayString(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ BOOLEAN Enable
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
BOOLEAN
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2007-02-03 20:30:32 +00:00
|
|
|
InbvResetDisplay(
|
|
|
|
VOID
|
|
|
|
);
|
2005-06-18 23:33:40 +00:00
|
|
|
|
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-06-18 23:33:40 +00:00
|
|
|
InbvSetScrollRegion(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ ULONG Left,
|
|
|
|
_In_ ULONG Top,
|
2014-08-31 23:00:29 +00:00
|
|
|
_In_ ULONG Right,
|
|
|
|
_In_ ULONG Bottom
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-06-18 23:33:40 +00:00
|
|
|
InbvSetTextColor(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ ULONG Color
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
VOID
|
2005-09-05 04:48:20 +00:00
|
|
|
NTAPI
|
2005-06-18 23:33:40 +00:00
|
|
|
InbvSolidColorFill(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ ULONG Left,
|
|
|
|
_In_ ULONG Top,
|
2014-08-31 23:00:29 +00:00
|
|
|
_In_ ULONG Right,
|
|
|
|
_In_ ULONG Bottom,
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ ULONG Color
|
2005-06-18 23:33:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|
2005-11-25 00:17:40 +00:00
|
|
|
#endif
|