Expand Minimize
This topic has not yet been rated - Rate this topic

MNLS_lstrlenW

Office 2010

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

TipTip:

Consider using StringCchLength instead.

int MNLS_lstrlen(
  LPCWSTR lpsz);

Parameters

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.