|
发表于 2020-9-29 13:45:01
|
显示全部楼层
LPCTSTR: An LPCWSTR if UNICODE is defined, an LPCSTR otherwise.
This type is declared in WinNT.h as follows:
#ifdef UNICODE
typedef LPCWSTR LPCTSTR;
#else
typedef LPCSTR LPCTSTR;
#endif
LPTSTR: An LPWSTR if UNICODE is defined, an LPSTR otherwise.
This type is declared in WinNT.h as follows:
#ifdef UNICODE
typedef LPWSTR LPTSTR;
#else
typedef LPSTR LPTSTR;
#endif
LPCSTR: Pointer to a constant null-terminated string of 8-bit Windows (ANSI) characters.
LPSTR: Pointer to a null-terminated string of 8-bit Windows (ANSI) characters. |
|