WindowsIsStringEmpty function (winstring.h)

Indicates whether the specified string is the empty string.

Syntax

BOOL WindowsIsStringEmpty(
  HSTRING string
);

Parameters

string

Type: [in] HSTRING

The string to be tested for content.

Return value

Type: BOOL

TRUE if string is NULL or the empty string; otherwise, FALSE.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header winstring.h

See also

WindowsGetStringLen