Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ Creates a new [**HSTRING**](/windows/win32/winrt/hstring) based on the specified

Type: [in, optional] <b>LPCWSTR</b>

A null-terminated string to use as the source for the new [**HSTRING**](/windows/win32/winrt/hstring). To create a new, empty, or <b>NULL</b> string, pass <b>NULL</b> for <i>sourceString</i> and 0 for <i>length</i>.
The UTF-16LE-encoded text buffer to use as the source for the new [**HSTRING**](/windows/win32/winrt/hstring). To create a new, empty, or <b>NULL</b> string, pass <b>NULL</b> for <i>sourceString</i> and 0 for <i>length</i>.

This buffer is not required to be null-terminated. <b>WindowsCreateString</b> will copy its contents and add a null-terminator in the new buffer backing the returned [**HSTRING**](/windows/win32/winrt/hstring).

### -param length

Expand Down