Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mirjalal/0fd34d0d1fff1d62b7fb to your computer and use it in GitHub Desktop.
Save mirjalal/0fd34d0d1fff1d62b7fb to your computer and use it in GitHub Desktop.
LPCSTR is a const string
exp: i.e. 'const char*'
LPCTSTR is a const TCHAR string, (TCHAR being either a wide char or char depending on whether UNICODE is defined)
exp: i.e. 'const WCHAR*' , (WCHAR : Unicode character)
LPTSTR is a (non-const) TCHAR string
i.e. 'TCHAR*' (TCHAR : MBCS or Unicode character depending on preprocessor settings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment