Partager via


MNLS_IsBadStringPtrW

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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.