The lstrlen function returns the length in bytes (ANSI version) or characters (Unicode version) of the specified string (not including the terminating null character).
int lstrlen(
LPCTSTR lpString |
// address of string to count |
); |
The return value specifies the length of the string in bytes (ANSI version) or characters (Unicode version).
lstrcat, lstrcmp, lstrcmpi, lstrcpy
See: