diff --git a/sdk-api-src/content/winstring/nf-winstring-windowscreatestring.md b/sdk-api-src/content/winstring/nf-winstring-windowscreatestring.md index 3f78247963dc..78299ae4eb4e 100644 --- a/sdk-api-src/content/winstring/nf-winstring-windowscreatestring.md +++ b/sdk-api-src/content/winstring/nf-winstring-windowscreatestring.md @@ -58,7 +58,9 @@ Creates a new [**HSTRING**](/windows/win32/winrt/hstring) based on the specified Type: [in, optional] LPCWSTR -A null-terminated string to use as the source for the new [**HSTRING**](/windows/win32/winrt/hstring). To create a new, empty, or NULL string, pass NULL for sourceString and 0 for length. +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 NULL string, pass NULL for sourceString and 0 for length. + +This buffer is not required to be null-terminated. WindowsCreateString will copy its contents and add a null-terminator in the new buffer backing the returned [**HSTRING**](/windows/win32/winrt/hstring). ### -param length