Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a counted Unicode string.
Syntax
VOID RtlInitUnicodeString(
[out] PUNICODE_STRING DestinationString,
[in, optional] PCWSTR SourceString
);
Parameters
[out] DestinationString
The buffer for a counted Unicode string to be initialized. The length is initialized to zero if the SourceString is not specified.
[in, optional] SourceString
Optional pointer to a null-terminated Unicode string with which to initialize the counted string.
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | winternl.h |
| Library | ntdll.lib |
| DLL | ntdll.dll; NtosKrnl.exe |