mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
b2be558e61
- Use KeDelayExecutionThread() instead of KeStallExecutionProcessor(). - Fix magic values and add comments. - Fix structure name.
130 lines
1.5 KiB
C
130 lines
1.5 KiB
C
#pragma once
|
|
|
|
typedef struct _INBV_PROGRESS_STATE
|
|
{
|
|
ULONG Floor;
|
|
ULONG Ceiling;
|
|
ULONG Bias;
|
|
} INBV_PROGRESS_STATE;
|
|
|
|
typedef struct _BT_PROGRESS_INDICATOR
|
|
{
|
|
ULONG Count;
|
|
ULONG Expected;
|
|
ULONG Percentage;
|
|
} BT_PROGRESS_INDICATOR, *PBT_PROGRESS_INDICATOR;
|
|
|
|
typedef enum _ROT_BAR_TYPE
|
|
{
|
|
RB_UNSPECIFIED,
|
|
RB_SQUARE_CELLS,
|
|
RB_PROGRESS_BAR
|
|
} ROT_BAR_TYPE;
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvUpdateProgressBar(
|
|
IN ULONG Progress
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvRotBarInit(
|
|
VOID
|
|
);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
InbvDriverInitialize(
|
|
IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|
IN ULONG Count
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvEnableBootDriver(
|
|
IN BOOLEAN Enable
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
DisplayBootBitmap(
|
|
IN BOOLEAN TextMode
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
DisplayFilter(
|
|
IN PCHAR *String
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
FinalizeBootLogo(
|
|
VOID
|
|
);
|
|
|
|
PUCHAR
|
|
NTAPI
|
|
InbvGetResourceAddress(
|
|
IN ULONG ResourceNumber
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvBitBlt(
|
|
IN PUCHAR Buffer,
|
|
IN ULONG X,
|
|
IN ULONG Y
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvIndicateProgress(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvPortEnableFifo(
|
|
IN ULONG PortId,
|
|
IN BOOLEAN Enable
|
|
);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
InbvPortGetByte(
|
|
IN ULONG PortId,
|
|
OUT PUCHAR Byte
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvPortPutByte(
|
|
IN ULONG PortId,
|
|
IN UCHAR Byte
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
InbvPortTerminate(
|
|
IN ULONG PortId
|
|
);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
InbvPortInitialize(
|
|
IN ULONG BaudRate,
|
|
IN ULONG PortNumber,
|
|
IN PUCHAR PortAddress,
|
|
OUT PULONG PortId,
|
|
IN BOOLEAN IsMMIODevice
|
|
);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
InbvPortPollOnly(
|
|
IN ULONG PortId
|
|
);
|
|
|
|
extern BOOLEAN InbvBootDriverInstalled;
|