Ok, I got it now! :) The "*" indicates a pointer, but if the type is LP..., then it is probably a macro for a pointer type (ex: LPWORD is in fact a replacement for WORD*). So, all LP... types are pointer types, in fact. Also, all P... are pointer types.
So, the convention was followed all the time, only that LP... types hide the "*". (But the "*" is always there, because it's part of the C language).
Special care must be given to types like LP...*. These are pointer to pointer types. Ex: LPWORD* translates to WORD**, pointer to pointer to WORD.
I wonder why these conventions are not explained clearly in the doc... :(
Vlad
>Sorry if I was a little vague. I mention the convention of using the pointer symbol ("*") to indicate that a pointer (reference) was used. They just used "lp". Then again, I really shouldn't have called it a convention, not being too familar with C++ .
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only