System.WideStrUtils.WStrPCopy

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

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

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Copie un WideString dans un PWideChar.

WStrPCopy copie Source dans le PWideCharDest. Elle renvoie un pointeur sur Dest.

WStrPCopy n'effectue aucun contrôle de longueur.

Le tampon de destination doit pouvoir stocker au moins Length(Source) + 1 caractères.

Voir aussi