Articles
66
Tags
32
Categories
9
Home
Seagull Blog
01-内核对象
Back to Home
Home
01-内核对象
Created
2025-08-08
|
Updated
2025-10-14
|
windows客户端&内核开发
1-windows核心编程
|
Post Views:
正在更新中…
Author:
LYJ
Link:
http://lyjseagull.github.io/windows-kernel-01-Program/
Copyright Notice:
All articles on this blog are licensed under
CC BY-NC-SA 4.0
unless otherwise stated.
内核对象
Previous
02-构建窗口类
base.h#pragma once#include<iostream>#include<vector>#include<map>#include<cmath>#include<assert.h>#define PI 3.14159265358979323#define DEG2RAD(theta) (0.01745329251994329 * (theta))#define FRACTION(v) ((v) - (int)(v))using byte = unsigned char;struct RGBA { byte mB; byte mG; byte mR; byte mA; RGBA( byte r = 255, byte g = 255, byte b = 255, byte a = 255) { mR = r; mG = g; mB = b; mA = a; }};struct Point { int32_t x; int32_t...
Next
01-WindowsAPI下的窗口构建
windows api 窗口部分int APIENTRY wWinMain( _In_ HINSTANCE hInstance, //本应用程序实例句柄,唯一指代当前程序 _In_opt_ HINSTANCE hPrevInstance, //本程序前一个实例,一般是null _In_ LPWSTR lpCmdLine, //应用程序运行参数 _In_ int nCmdShow) //窗口如何显示(最大化、最小化、隐藏),不需理会{ if (!app->initApplication(hInstance, 800, 600)) { return -1; } //将bmp指向的内存配置到sgl当中 sgl->initSurface(app->getWidth(), app->getHeight(), app->getCanvas()); bool alive = true; while (alive) { alive = app->peekMessage(); render(...
LYJ
Articles
66
Tags
32
Categories
9
Follow Me
Announcement
This is Seagull Blog
Contents
1.
正在更新中…
Post Series
01-内核对象
2025-08-08
Recent Posts
01-Assimp库解析网格文件
2025-10-30
05-绘制直线与选中删除
2025-10-18
04-视图立方体
2025-10-17
03-工作平面
2025-10-16
01-区别指针和引用
2025-10-15