mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-24 14:11:02 +00:00
Some GDI fixes
This commit is contained in:
@@ -289,7 +289,7 @@ typedef struct _PEB64
|
||||
ULONG MaximumNumberOfHeaps;
|
||||
std::uint64_t** ProcessHeaps; // PHEAP
|
||||
|
||||
std::uint64_t* GdiSharedHandleTable; // PGDI_SHARED_MEMORY
|
||||
std::uint64_t GdiSharedHandleTable; // PGDI_SHARED_MEMORY
|
||||
std::uint64_t* ProcessStarterHelper;
|
||||
ULONG GdiDCAttributeList;
|
||||
|
||||
|
||||
@@ -846,8 +846,13 @@ struct GDI_HANDLE_ENTRY64
|
||||
struct GDI_SHARED_MEMORY64
|
||||
{
|
||||
GDI_HANDLE_ENTRY64 Handles[GDI_MAX_HANDLE_COUNT];
|
||||
char pad[0xC8];
|
||||
uint64_t Objects[0x20];
|
||||
uint64_t Data[0x200]; // ?
|
||||
};
|
||||
|
||||
static_assert(offsetof(GDI_SHARED_MEMORY64, Objects) == 0x1800B0);
|
||||
|
||||
struct CLIENT_ID64
|
||||
{
|
||||
DWORD64 UniqueProcess;
|
||||
|
||||
Reference in New Issue
Block a user