precomp.h

来自「ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机」· C头文件 代码 · 共 47 行

H
47
字号
#include "ntddk.h"
#include "arc/arc.h"
#include "halfuncs.h"
#include "drivers/bootvid/bootvid.h"

//
// Command Stream Definitions
//
#define CMD_STREAM_WRITE            0x0
#define CMD_STREAM_WRITE_ARRAY      0x2
#define CMD_STREAM_USHORT           0x4
#define CMD_STREAM_READ             0x8

//
// Bitmap Header
//
typedef struct tagBITMAPINFOHEADER
{
    ULONG biSize;
    LONG biWidth;
    LONG biHeight;
    USHORT biPlanes;
    USHORT biBitCount;
    ULONG biCompression;
    ULONG biSizeImage;
    LONG biXPelsPerMeter;
    LONG biYPelsPerMeter;
    ULONG biClrUsed;
    ULONG biClrImportant;
} BITMAPINFOHEADER, *PBITMAPINFOHEADER;

VOID
NTAPI
InitializePalette(
    VOID
);

//
// Globals
//
extern USHORT AT_Initialization[];
extern ULONG curr_x;
extern ULONG curr_y;
extern ULONG_PTR VgaRegisterBase;
extern ULONG_PTR VgaBase;
extern UCHAR FontData[256 * 13];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?