MNLS_IsBadStringPtrW

Applies to: Outlook 2013 | Outlook 2016

Verifies that a pointer to a wide string is valid.

BOOL MNLS_IsBadStringPtrW(
  LPCWSTR lpsz,
  UINT ucchMax);

Parameters

lpsz

[in] A pointer to the wide character string.

ucchMax

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

Return value

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

Remarks

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