System.WideStrUtils.WStrCopy
Delphi
function WStrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;
C++
extern DELPHI_PACKAGE System::WideChar * __fastcall WStrCopy(System::WideChar * Dest, const System::WideChar * Source);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.WideStrUtils.pas System.WideStrUtils.hpp |
System.WideStrUtils | System.WideStrUtils |
Description
Copie un PWideChar dans un autre PWideChar.
Utilisez WStrCopy pour copier Source dans Dest. WStrCopy renvoie Dest.
WStrCopy n'effectue aucun contrôle de longueur. Le tampon de destination doit pouvoir stocker au moins WStrLen(Source) + 1 caractères.
Pour contrôler la longueur, utilisez la fonction WStrLCopy.