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++ .
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement