R
Russell Mangel
I have been doing some C++ Interop using the new VS2005 (June Beta).
I am exposing these methods to .NET clients.
I ran into some WinAPI methods which use LPVOID types, and I don't
understand the philosophy behind this type.
What I don't get is why doesn't a person pass in a pointer to the datatype
they need, instead of LPVOID.
Can you provide a simple example to demonstrate how the LPVOID, was/is
generally used in WinAPI programming?
Thanks
Russell Mangel
Las Vegas, NV
P.S. The philosophy of why LPVOID types were used in WinAPI programming, is
most important to me.
I am exposing these methods to .NET clients.
I ran into some WinAPI methods which use LPVOID types, and I don't
understand the philosophy behind this type.
What I don't get is why doesn't a person pass in a pointer to the datatype
they need, instead of LPVOID.
Can you provide a simple example to demonstrate how the LPVOID, was/is
generally used in WinAPI programming?
Thanks
Russell Mangel
Las Vegas, NV
P.S. The philosophy of why LPVOID types were used in WinAPI programming, is
most important to me.