System.WideStrUtils.WStrCopy

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function WStrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;

C++

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

Properties

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

Description

Copies a PWideChar to another PWideChar.

Use WStrCopy to copy Source to Dest. WStrCopy returns Dest.

WStrCopy does not perform any length check. The destination buffer must have room for at least WStrLen(Source) + 1 characters.

For length checking, use the WStrLCopy function.

See Also