reactos/win32ss/reactx/dxgthk/dxgthk.spec
Oleg Dubinskiy a4b0899ca1
[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.
2023-08-23 17:53:22 +02:00

20 lines
1.1 KiB
Python

@ stdcall EngAcquireSemaphore(ptr) win32k.EngAcquireSemaphore
@ 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 long ptr) win32k.EngCreateBitmap
@ stdcall EngCreatePalette(long long long long long long) win32k.EngCreatePalette
@ stdcall EngCreateSemaphore() win32k.EngCreateSemaphore
@ stdcall EngDeletePalette(ptr) win32k.EngDeletePalette
@ stdcall EngDeleteSemaphore(ptr) win32k.EngDeleteSemaphore
@ stdcall EngDeleteSurface(ptr) win32k.EngDeleteSurface
@ stdcall EngFindImageProcAddress(ptr str) win32k.EngFindImageProcAddress
@ stdcall EngFreeMem(ptr) win32k.EngFreeMem
@ stdcall EngFreeUserMem(ptr) win32k.EngFreeUserMem
@ stdcall EngLoadImage(wstr) win32k.EngLoadImage
@ stdcall EngLockSurface(ptr) win32k.EngLockSurface
@ stdcall EngReleaseSemaphore(ptr) win32k.EngReleaseSemaphore
@ stdcall EngSetLastError(long) win32k.EngSetLastError
@ stdcall EngUnloadImage(ptr) win32k.EngUnloadImage
@ stdcall EngUnlockSurface(ptr) win32k.EngUnlockSurface