Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save robertstefan/81ba720cdbf359a279d17a592ee0d2d8 to your computer and use it in GitHub Desktop.
Save robertstefan/81ba720cdbf359a279d17a592ee0d2d8 to your computer and use it in GitHub Desktop.
CHAR STRing table
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