mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[DXGTHK] Fix EngCreateBitmap exported parameters (#5606)
Use two longs instead of one for the first parameter of EngCreateBitmap export. Make it same as win32k export. MSDN documentation says that 1st parameter is SIZEL (SIZE) structure, which actually contains 2 longs inside. Sice it is passed by value, it needs to take enough memory when export in dxgthk and redirect to win32k (since it's actually a win32k function). Fixes the compilation of our dxg.sys when calling dxgthk!EngCreateBitmap from it. Found during my DirectX investigations.
This commit is contained in:
parent
4e3bf252d8
commit
a4b0899ca1
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
@ stdcall EngAllocMem(long long long) win32k.EngAllocMem
|
||||
@ stdcall EngAllocUserMem(long long) win32k.EngAllocUserMem
|
||||
@ stdcall EngCopyBits(ptr ptr ptr ptr ptr ptr) win32k.EngCopyBits
|
||||
@ stdcall EngCreateBitmap(long long long long ptr) win32k.EngCreateBitmap
|
||||
@ stdcall EngCreateBitmap(long long long long long ptr) win32k.EngCreateBitmap
|
||||
@ stdcall EngCreatePalette(long long long long long long) win32k.EngCreatePalette
|
||||
@ stdcall EngCreateSemaphore() win32k.EngCreateSemaphore
|
||||
@ stdcall EngDeletePalette(ptr) win32k.EngDeletePalette
|
||||
|
|
Loading…
Reference in a new issue