Created
May 8, 2018 16:14
-
-
Save vnl/ff8c0b73a287ce279d782cc472d39287 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quoting Brian Kramer on the MSDN forums: https://social.msdn.microsoft.com/forums/vstudio/en-US/1b994ff3-da28-46a8-90ef-6c7fab8dcd21/lpctstr#e4e05bbe-7cb8-4321-97de-fcf1c435952e | |
LPCTSTR = Long Pointer to a Const TCHAR STRing (Don't worry, a long pointer is the same as a pointer. There were two flavors of pointers under 16-bit windows.) | |
Here's the table: | |
LPSTR = char* | |
LPCSTR = const char* | |
LPWSTR = wchar_t* | |
LPCWSTR = const wchar_t* | |
LPTSTR = char* or wchar_t* depending on _UNICODE | |
LPCTSTR = const char* or const wchar_t* depending on _UNICODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment