Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WindowsGetStringLen function

Gets the length, in Unicode characters, of the specified string.

Syntax


UINT32 WINAPI WindowsGetStringLen(
  _In_ HSTRING string
);

Parameters

string [in]

Type: HSTRING

The string whose length is to be found.

Return value

Type: UINT32

The number of Unicode characters in string, including embedded null characters, but excluding the terminating null; or 0 if string is NULL.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Winstring.h

 

 

Show:
© 2017 Microsoft