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 |
); |
Parameters
lpString
Points to a null-terminated string.
Return Values
If the function succeeds, the return value specifies the length of the string in bytes (ANSI version) or characters (Unicode version).
See Also