MNLS_lstrlenW
TOC
Collapse the table of content
Expand the table of content

MNLS_lstrlenW

Office 2013 and later

Last modified: February 21, 2012

Applies to: Outlook

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.

Show:
© 2016 Microsoft