MNLS_IsBadStringPtrW

Office 2013 and later

Last modified: February 20, 2012

Applies to: Outlook

Verifies that a pointer to a wide string is valid.

BOOL MNLS_IsBadStringPtrW(
  LPCWSTR lpsz,
  UINT ucchMax);

lpsz

[in] A pointer to the wide character string.

ucchMax

[in] The maximum length of the string in characters including terminator.

Returns a Boolean that is true if the string is bad.

This function wraps IsBadStringPtr. For more information, see IsBadStringPtr.

Show: