tcslen
tcslen is a function provided by the Windows C run-time library as part of the generic-text mapping in tchar.h. It computes the length of a null-terminated string consisting of TCHAR elements, returning the number of characters before the terminating null character.
TCHAR is a character type that can represent either a single-byte char (in ANSI builds) or a
The typical signature is size_t tcslen(const TCHAR* s); The function does not include the terminating null in
Usage typically requires including <tchar.h> and using TCHAR-based strings, which can be declared with the _T
Notes: tcslen counts characters, not bytes, and assumes a properly null-terminated string. It is not a function