---
name: "RtlInitString"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlInitString"
---

# RtlInitString(3w)

## NAME

**RtlInitString** (NTDLL.@)

## SYNOPSIS

void RtlInitString\
  (\
   PSTRING *target*,\
   PCSZ    *source*\
  )

## PARAMS

*target* **\[In/Out\]**  Buffered string to be initialized.

*source* **\[In\]**  **' '** terminated string used to initialize *target*.

## DESCRIPTION

Initializes a buffered string.

## RETURNS

Nothing.

## NOTES

Assigns *source* to *target-\>Buffer*. The length of *source* is assigned to *target-\>Length* and *target-\>MaximumLength*. If *source* is **NULL** the length of *source* is assumed to be **0.**

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/rtlstr.c"**.

Debug channel **"ntdll"**.
