On Mon Apr 15 16:54:48 2024 +0000, Paul Gofman wrote:
Well, PVOID is how Geoff Chappell defines it [1]. Elsewhere in somewhat similar occasion we define as HANDLE (see CLIENT_ID in winternl.h) which is essentially 'void *' but HANDLE is IMO most confusing because this is not handle but id. So I am not sure, ULONG_PTR is most straightforward ofc but for some reason is usually defined elsewise.
Yes, HANDLE is probably worse.