I am currently modelling a type conversion mechanism which converts native (Windows Data Types) to .NET
Example:
HANDLE = System.IntPtr
HDC = System.IntPtr
WORD = System.UInt16
INT_PTR
is 32bit/64bit on their respective machines, so in .NET thats a System.IntPtr
HALF_PTR
(and others) are 16bit/32bit on their respective 32bit/64bit machines...
so how would I model HALF_PTR
in .NET - If possible?
I guess another way of looking at this is: Is There a "short" pointer equivalent for C#...something like ShortPtr?