Le 31/01/2022 à 14:24, Nikolay Sivov a écrit :
Maybe we could adjust NtGdi prototypes instead. I see a number of casts like that in existing code already, that would be unnecessary if DWORD was used for the prototype.

I'm in for avoiding the casts !

but, these APIs are not documented on MS web servers

and I don't have a ddk handy to check the prototypes

reactos and drmemory both define ntgdipolypolydraw with a PULONG instead, which could be a hint, not an absolute confirmation though

A+