can someone tell me where LPTSTR and DWORD are defined ...
I see them used everywhere and I don't know exactly what they are or the rules on using them.
"LPTSTR" is (assuming you're not doing anything with Unicode or multi-byte character sets) equivalent to "char*", and "DWORD" is the same as "unsigned long".
An easy way to find the definitions is to right-click on the keywords in Visual C++ and select "Go To Definition Of".
Note that you'll have to do this a few times to finally arrive at the real definition for LPTSTR.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.