Expand Minimize

MNLS_lstrlenW

Office 2013

Published: July 16, 2012

Determines the length of the specified Unicode string, excluding the terminating null character.

Tip Tip

Consider using StringCchLength instead.

int MNLS_lstrlen(
  LPCWSTR lpsz);

lpsz

[in] The null-terminated Unicode string to be checked.

The function returns an integer with the length of the string. It is a count of characters in the string, excluding the terminating null character. If lpsz is NULL, the function returns zero.

This function wraps the lstrlen function. For more information, see lstrlen.

Community Additions

ADD
Show:
© 2014 Microsoft