Closed Patschkowski closed 3 years ago
HANDLE is a void in Win32, void is different on 32 and 64 bit systems. To avoid casting from integer literals to System.Address I have chosen for ptrdiff_t which is a type large enough to hold pointer offsets, thus following the bit count of pointers on the target.
Just for my understanding, I've written a little program showing the bit sizes involved: