System.WideStrUtils.WStrPCopy

From RAD Studio API Documentation
Revision as of 22:47, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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