System.WideStrUtils.WStrPCopy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WStrPCopy(Dest: PWideChar; const Source: WideString): PWideChar;

C++

extern DELPHI_PACKAGE System::WideChar * __fastcall WStrPCopy(System::WideChar * Dest, const System::WideString Source);

Properties

Type Visibility Source Unit Parent
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Copies a WideString to a PWideChar.

WStrPCopy copies Source into a PWideChar Dest. It returns a pointer to Dest.

WStrPCopy does not perform any length checking.

The destination buffer must have room for at least Length(Source) + 1 characters.

See Also