Skip to main content
WindowsIsStringEmpty function

Indicates whether the specified string is the empty string.

Syntax


BOOL WINAPI WindowsIsStringEmpty(
  _In_  HSTRING string
);

Parameters

string [in]

Type: HSTRING

The string to be tested for content.

Return value

Type: BOOL

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

Remarks

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Winstring.h

See also

WindowsGetStringLen