clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -24,26 +24,26 @@ typedef struct DISPLAY_DEVICE_OPS {
|
||||
KSTATUS (*GetMode)(DISPLAY_DEVICE* device, DISPLAY_MODE* outMode);
|
||||
|
||||
KSTATUS (*Blit)(DISPLAY_DEVICE* device,
|
||||
int x, int y, int w, int h,
|
||||
int32_t x, int32_t y, int32_t w, int32_t h,
|
||||
const uint32_t* pixels,
|
||||
uint32_t pitchBytes);
|
||||
|
||||
KSTATUS (*PresentPitched)(DISPLAY_DEVICE* device,
|
||||
int x, int y, int w, int h,
|
||||
int32_t x, int32_t y, int32_t w, int32_t h,
|
||||
const uint32_t* pixels,
|
||||
uint32_t pitchBytes);
|
||||
|
||||
KSTATUS (*FillRect)(DISPLAY_DEVICE* device,
|
||||
int x, int y, int w, int h,
|
||||
int32_t x, int32_t y, int32_t w, int32_t h,
|
||||
uint32_t color);
|
||||
|
||||
KSTATUS (*CopyRect)(DISPLAY_DEVICE* device,
|
||||
int dstX, int dstY,
|
||||
int srcX, int srcY,
|
||||
int w, int h);
|
||||
int32_t dstX, int32_t dstY,
|
||||
int32_t srcX, int32_t srcY,
|
||||
int32_t w, int32_t h);
|
||||
|
||||
KSTATUS (*ReadRect)(DISPLAY_DEVICE* device,
|
||||
int x, int y, int w, int h,
|
||||
int32_t x, int32_t y, int32_t w, int32_t h,
|
||||
uint32_t* outPixels, uint32_t outStride);
|
||||
|
||||
KSTATUS (*Present)(DISPLAY_DEVICE* device,
|
||||
@@ -53,11 +53,11 @@ typedef struct DISPLAY_DEVICE_OPS {
|
||||
KSTATUS (*Sync)(DISPLAY_DEVICE* device);
|
||||
|
||||
KSTATUS (*SetCursorImage)(DISPLAY_DEVICE* device,
|
||||
int width, int height,
|
||||
int hotX, int hotY,
|
||||
int32_t width, int32_t height,
|
||||
int32_t hotX, int32_t hotY,
|
||||
const uint32_t* argbPixels);
|
||||
|
||||
KSTATUS (*SetCursorPosition)(DISPLAY_DEVICE* device, int x, int y);
|
||||
KSTATUS (*SetCursorPosition)(DISPLAY_DEVICE* device, int32_t x, int32_t y);
|
||||
KSTATUS (*ShowCursor)(DISPLAY_DEVICE* device, bool show);
|
||||
|
||||
KSTATUS (*QueryStats)(DISPLAY_DEVICE* device, DISPLAY_STATS* outStats);
|
||||
|
||||
@@ -10,4 +10,4 @@ __declspec(dllexport) KSTATUS KeInputRegisterDevice(const char* name, uint32_t f
|
||||
__declspec(dllexport) void KeInputSubmitKey(const INPUT_KEY_EVENT* event);
|
||||
__declspec(dllexport) void KeInputSubmitMouse(const INPUT_MOUSE_EVENT* event);
|
||||
__declspec(dllexport) void KeInputSubmitMouseAbsolute(const INPUT_MOUSE_ABSOLUTE_EVENT* event);
|
||||
__declspec(dllexport) void KeInputSubmitMouseAbsoluteScaled(uint32_t rawX, uint32_t rawY, uint32_t maxX, uint32_t maxY, int wheel, uint8_t buttons);
|
||||
__declspec(dllexport) void KeInputSubmitMouseAbsoluteScaled(uint32_t rawX, uint32_t rawY, uint32_t maxX, uint32_t maxY, int32_t wheel, uint8_t buttons);
|
||||
@@ -97,7 +97,7 @@ struct DEVICE_OBJECT {
|
||||
uint32_t AlignmentRequirement;
|
||||
|
||||
SPINLOCK Lock;
|
||||
volatile long OutstandingIrps;
|
||||
volatile int32_t OutstandingIrps;
|
||||
bool DeletePending;
|
||||
|
||||
SYS_STRING_VIEW Name;
|
||||
|
||||
Reference in new issue
Block a user